Right, descriptions for HTTP codes 304-308 were shifted in 0.9.53. Already reported and fixed: http://lists.gnu.org/archive/html/libmicrohttpd/2017-04/msg00024.html Anyway, clients should not use text description, only numerical code should be used.
-- Best Wishes, Evgeny Grin On 08.05.2017 6:05, Markus Mäkelä wrote: > Hi, > > I'm generating HTTP 304 Not Modified responses with libmicrohttpd and > the actual responses returned seem to have the wrong message: > > [markusjm@localhost core]$ curl -I -H "If-Modified-Since: Mon, 08 May 17 > 02:57:43 GMT" localhost:8989/v1/servers/server1 > HTTP/1.1 304 See Other > Connection: Keep-Alive > Date: Mon, 08 May 17 02:58:41 GMT > > It seems like the message for 303 See Other is used instead of the 304 > Not Modified one. I'm using libmicrohttpd version 0.9.53. > > Markus >
signature.asc
Description: OpenPGP digital signature
