Fork me on GitHub
#aleph
<
2019-10-03
>
sofra06:10:40

thanks @cddr where does the inflate fn come from? or is that just a function you have written your self?

sofra06:10:55

@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

cddr09:10:48

Ah yeah inflate is just a placeholder for whatever you have that decompresses the response.

mccraigmccraig10:10:39

@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

👍 4