#compression is not working?

12 messages · Page 1 of 1 (latest)

icy violet
#

I'm building a Go application with Fiber's compress middleware but for some reason the response is not compressed. I'm sending the accept-encoding headers accordingly but still I get no gzip or brotli response. This works locally and also on another cloud provider.

livid geodeBOT
#

Project ID: 641dd1fe-cd0d-4acf-9826-29f2a3bd8c2d

icy violet
#

641dd1fe-cd0d-4acf-9826-29f2a3bd8c2d

#

not even forcing the header in the request seems to make it work

#

or maybe there's another check in Fiber on how it decides that it supports encoding

icy violet
#

im using this command, if it prints random stuff then its gzip
curl -H "Accept-Encoding: gzip" --compressed --raw "<url>" --output -

swift shell
swift shell
icy violet
#

ok whatever, I wont touch it

swift shell
#

sweet