You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Henrik Nordstrom <he...@henriknordstrom.net> on 2007/10/16 20:57:29 UTC

Re: Content-Type: application/x-www-form-urlencoded and Content-length

On tis, 2007-10-16 at 18:26 +0200, jean-frederic clere wrote:

> I though that a POST for a form returning Content-Type:
> application/x-www-form-urlencoded must have a Content-length (and no
> Transfer-Encoding: chunked). But I can't find this in any documentation
> about it.

It's either content-length or chunked. One MUST be used. Content-length
is strongly preferred if possible as many servers, proxies and
application gateways can't handle chunked requests, but not possible if
the POST:er want's to apply gzip compression or other tranfer encoding
to the request.

Regards
Henrik