Re: [libmicrohttpd] Cannot set Content-Length in header

2019-10-29 Thread Christian Grothoff
On 10/29/19 6:36 PM, Tim Rühsen wrote: > Thanks, Christian. > > Tested & it works. > > Not sure why, but I first tested with > MHD_OPTION_SERVER_INSANITY, 1 > when starting the server which doesn't work. Yeah, that one is a server-wide option, which for responses doesn't work as you can have a

Re: [libmicrohttpd] Cannot set Content-Length in header

2019-10-29 Thread Tim Rühsen
Thanks, Christian. Tested & it works. Not sure why, but I first tested with MHD_OPTION_SERVER_INSANITY, 1 when starting the server which doesn't work. Regards, Tim On 25.10.19 14:46, Christian Grothoff wrote: > Hi Tim, > > In Git head, you can now do: > > MHD_set_response_options (response,