thanks @cddr where does the inflate
fn come from? or is that just a function you have written your self?
@cddr that is what I have settled on too but wrote my on decompression function so was wondering if there was something to do it that I had missed
Ah yeah inflate
is just a placeholder for whatever you have that decompresses the response.
@sofra our http client checks headers to detect whether responses are compressed and decompresses them as necessary - here it is - there are private deps, so you won't be able to use it directly, but parts of it may be useful - https://gist.github.com/mccraigmccraig/7e44ff82d9fb66f6809614f1ed65cd04
thanks @mccraigmccraig!