http icon indicating copy to clipboard operation
http copied to clipboard

feat: utopia compression

Open loks0n opened this issue 1 year ago • 0 comments

Adds setCompression configuration method to utopia Http

If enabled, this performs brotli, gzip, or delate (in decreasing priority) compression on response bodies of requests that:

  • have a whitelisted mime-type (text/* etc)
  • AND are greater than 1KB
  • AND have accept-encoding header

loks0n avatar Oct 16 '24 11:10 loks0n