Sample Stream Compressing


Hi. I am trying to use sample stream with GZIP compressed option. I have set the request Headers as mentioned in your docs. But still, I cannot get compressed stream. I checked the response header and no Content-Encoding is included? Do we have compressed-option when working with sample stream? I’m working with AsyncHttpClient, can someone show me an example of sending a proper request for compressed stream content?


Hi there,

Can you confirm the HTTP headers you are using? Also, what language are you developing in?