miniflare
miniflare copied to clipboard
content-encoding stripped from response?
I set a content-encoding of 'custom' for a response Miniflare is generating and for some reason it seems to be stripped off when the caller receives it. When I run it in deployed Cloudflare Workers that is not the case & the content-encoding is returned successfully.
Additionally, I noticed that the vary header is not set in the response when accept-encoding is sent (edge returns vary: accept-encoding).