libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] Wrong 304 Response Message


From: Evgeny Grin
Subject: Re: [libmicrohttpd] Wrong 304 Response Message
Date: Mon, 8 May 2017 16:47:03 +0300
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

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:
> 
> address@hidden 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
> 

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]