Re: [libmicrohttpd] Compressed response object.

2016-09-16 Thread Frank Ch. Eigler

Christian Grothoff wrote:

> [...]  Yes, you can totally send compressed objects, just MHD will not
> do the compression for you: Your application has to implement the
> compression and give MHD the compressed data. [...]

While this seems like something MHD could do for us, it's not that 
much work in the app.  e.g., see the last bits of

https://sourceware.org/git/gitweb.cgi?p=pcpfans.git;a=blob;f=src/pmwebapi/util.cxx;hb=HEAD

- FChE



Re: [libmicrohttpd] Compressed response object.

2016-09-09 Thread Christian Grothoff
Dear Geetha,

Yes, you can totally send compressed objects, just MHD will not do the
compression for you: Your application has to implement the compression
and give MHD the compressed data. You may also have to explicitly set
content-encoding/content-type headers so that the client recognizes the
compression scheme.

Happy hacking!

Christian

On 09/09/2016 03:18 PM, Geetha Shanmugam wrote:
> Hi,
> Is there way to send compressed data via MHD?
> The response is google proto buf compressed object.
> 
> Thanks,
> Geetha
> 



signature.asc
Description: OpenPGP digital signature