httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Kratochvil <>
Subject Re: POST without Content-Length
Date Sun, 08 Aug 2004 06:49:51 GMT

On Sun, 08 Aug 2004 00:24:15 +0200, Nick Kew wrote:
> > Therefore it should be safe to assume if no Content-Length and no "chunked"
> > headers are present there MUST follow an optional body with the
> > connection-close afterwards as 'persistent connection' MUST NOT be present.
> Nope.  GET requests routinely have keep-alive, but don't have bodies.

Just FYI squid-3.0 release notes:
		New squid.conf directive "request_entities on/off".If set to
		"on" then Squid will allow GET/HEAD requests with request
		entities, even if such entites are "undefined" in the HTTP
		specification. (Henrik Nordstrom)

Anyway I have no longer standards compliance complaints as httpd-2.1 looks OK:

On Sun, 08 Aug 2004 00:07:24 +0200, Roy T. Fielding wrote:
> An HTTP request with no content-length and no tranfer-encoding has no body,
> period:
>    The presence of a message-body in a request is signaled by the
>    inclusion of a Content-Length or Transfer-Encoding header field in
>    the request's message-headers.

Oops, with the greatest regards to RFC author :-),

Jan Kratochvil; Captive: free r/w NTFS Filesystem;

View raw message