Re: Force content decoding

2022-07-07 Thread Wolf Vollprecht via curl-library
I uploaded. > > Ideally I would have wanted to re-use the internal libcurl functions for > decoding that would be used if the server would reply with the correct > Content-Encoding vs implementing it in my WRITEFUNCTION. > > Best, > > Wolf > > > On 7. Jul 2022, at 11:15,

Re: Force content decoding

2022-07-07 Thread Wolf Vollprecht via curl-library
decoding that would be used if the server would reply with the correct Content-Encoding vs implementing it in my WRITEFUNCTION. Best, Wolf > On 7. Jul 2022, at 11:15, Timothe Litt via curl-library > wrote: > > > On 07-Jul-22 03:56, Wolf Vollprecht via curl-library wrote: >

Force content decoding

2022-07-07 Thread Wolf Vollprecht via curl-library
Hi all, I have some data that I am downloading where I know that it is gzip-encoded. However, the server does not respond with the correct header (and I don’t have control over it). I was wondering if there is a way to either “manually” append the proper Content-Encoding header to the response