I'm having a little trouble figuring out which direction to take. I have an app using Boost::Asio to request https://addons.mozilla.org/en-US/firefox/. I modified the async client example to use SSL. It gathers the headers and content (html) fine (most of the time). So what I have is a stream of encoded data (gzip). I need to decode it. I've tried writing it to a file and using zlib to open it, with no luck. Should I be using OpenSSL functions? Am I using the wrong zlib functions? Is there a more appropriate library? Should I be loading some sort of certificate with Boost::Asio?
Just wondering if anyone out there has decoded HTTPS with Boost::Asio or otherwise and how to get started.
Thanks in advance for any info
>> So what I have is a stream of encoded data (gzip).
What is this stream? Would be a file download under a regular browser?