Re: Content-Length header for HTTP 204 and 1xx status codes

2016-12-08 Thread Luca Toscano
Hi everybody, thanks a lot for the useful feedback. Quoting Jacob from another thread: 2016-12-08 0:04 GMT+01:00 Jacob Champion : > > > I thought the original bug report was related to 204 processing only, and > then Luca asked if his patch should also include

Re: Content-Length header for HTTP 204 and 1xx status codes

2016-12-07 Thread Stefan Eissing
From a pure protocol point of view, all responses can have headers, I think. But there might be several implementations that do not cope well with them. But if we get some from an upstream server, I think we should forward them. > Am 07.12.2016 um 17:31 schrieb William A Rowe Jr

Re: Content-Length header for HTTP 204 and 1xx status codes

2016-12-07 Thread Jacob Champion
On 12/07/2016 08:31 AM, William A Rowe Jr wrote: Does anyone have pointers to legitimizing any 100 response headers? Date is called out explicitly (RFC 7231, sec. 7.1.1.2): [...] An origin server MAY send a Date header field if the response is in the 1xx (Informational) or 5xx

Re: Content-Length header for HTTP 204 and 1xx status codes

2016-12-07 Thread William A Rowe Jr
On Wed, Dec 7, 2016 at 9:05 AM, William A Rowe Jr wrote: > On Nov 30, 2016 11:46 AM, "Luca Toscano" wrote: > > Hi everybody, > > while working on https://bz.apache.org/bugzilla/show_bug.cgi?id=51350 a > user asked why httpd send the "Content-Length:

Re: Content-Length header for HTTP 204 and 1xx status codes

2016-12-07 Thread William A Rowe Jr
On Nov 30, 2016 11:46 AM, "Luca Toscano" wrote: Hi everybody, while working on https://bz.apache.org/bugzilla/show_bug.cgi?id=51350 a user asked why httpd send the "Content-Length: 0" header for HTTP 204 responses given the following statement in the RFC:

Re: Content-Length header for HTTP 204 and 1xx status codes

2016-12-07 Thread Luca Toscano
2016-12-06 9:45 GMT+01:00 Luca Toscano : > Hi Yann, > > 2016-12-05 13:54 GMT+01:00 Yann Ylavic : > >> Hi Luca, >> >> sorry for the delay (overwhelmed these times)... >> > > thanks a lot for the help! > > >> >> On Mon, Dec 5, 2016 at 1:21 PM, Luca

Re: Content-Length header for HTTP 204 and 1xx status codes

2016-12-06 Thread Luca Toscano
Hi Yann, 2016-12-05 13:54 GMT+01:00 Yann Ylavic : > Hi Luca, > > sorry for the delay (overwhelmed these times)... > thanks a lot for the help! > > On Mon, Dec 5, 2016 at 1:21 PM, Luca Toscano > wrote: > > > > > > 2016-11-30 18:46 GMT+01:00 Luca

Re: Content-Length header for HTTP 204 and 1xx status codes

2016-12-05 Thread Yann Ylavic
Hi Luca, sorry for the delay (overwhelmed these times)... On Mon, Dec 5, 2016 at 1:21 PM, Luca Toscano wrote: > > > 2016-11-30 18:46 GMT+01:00 Luca Toscano : >> >> Hi everybody, >> >> while working on

Re: Content-Length header for HTTP 204 and 1xx status codes

2016-12-05 Thread Luca Toscano
2016-11-30 18:46 GMT+01:00 Luca Toscano : > Hi everybody, > > while working on https://bz.apache.org/bugzilla/show_bug.cgi?id=51350 a > user asked why httpd send the "Content-Length: 0" header for HTTP 204 > responses given the following statement in the RFC: > >

Content-Length header for HTTP 204 and 1xx status codes

2016-11-30 Thread Luca Toscano
Hi everybody, while working on https://bz.apache.org/bugzilla/show_bug.cgi?id=51350 a user asked why httpd send the "Content-Length: 0" header for HTTP 204 responses given the following statement in the RFC: https://tools.ietf.org/html/rfc7230#page-30 "A server MUST NOT send a Content-Length