warp icon indicating copy to clipboard operation
warp copied to clipboard

Compression extracted from Accept-Encoding header

Open MainTobias opened this issue 3 years ago • 0 comments

As far as I know there is no way to do this right now. However I think it is a necessity for a server to have. I tried to implement it myself but failed because the compression methods only get a HeaderMap where they can add headers to the response and not one where they can get the request's headers. I think it would be great if you could do something like

compression::from_header()

Did I miss something and you can already do it? Resources: Accept-Encoding

MainTobias avatar Jan 11 '22 09:01 MainTobias