[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] How calling MHD_start_daemon() to get deflate compre
Re: [libmicrohttpd] How calling MHD_start_daemon() to get deflate compression?
Wed, 16 Jun 2010 16:49:28 +0200
KMail/1.13.2 (Linux/2.6.32-22-generic; KDE/4.4.2; i686; ; )
On Wednesday, June 16, 2010 12:59:07 pm address@hidden wrote:
> having libmicrohttpd serving compressed web pages seems to be possible:
> But I do not achieve to get it working. MHD_GNUTLS_COMP_DEFLATE seems
> not to be declared in the headers.
> Does someone has a code example?
There is no build-in support for compression in MHD. However, you can
yourself check request headers, add the appropriate response header and
generate a compressed response. So there is no "easy" way to do this (as in,
as easy as setting a flag), but OTOH it is quite possible to support
compressed content with MHD.