req
req copied to clipboard
`decompress_body`: Support transfer-encoding header
See https://github.com/elixir-mint/mint/blob/main/pages/Decompression.md
I'd like to help with this one, once I get myself familiar with the text linked.
Hello I'd like to help with this one unless @andreyuhai is still on it and thank you for the referenced doc.
Just to test the waters, would the changes be something like
- Extract & combine the provided compression algorithms from
transfer-encoding
andcontent-encoding
- Apply the algorithms in the given order (I found an example of compressing precedence rule here, so I reckon decompressing would be the reverse).
Sorry, I said I would but then didn't really have a chance to go beyond reading it. Feel free to take it over @thangpham7793.
Let's stick to content-encoding: ... for now.