W3C home > Mailing lists > Public > www-talk@w3.org > September to October 1995

Re: Termination of POST body

From: Dave Long <dave@navisoft.com>
Date: Tue, 26 Sep 1995 11:26:23 -0700
Message-Id: <9509261826.AA06143@navisoft.com>
To: wmperry@spry.com
Cc: Paul Phillips <paulp@cerf.net>, www-talk@w3.org
Paul Phillips writes:
> Netscape/X and Mosaic/X terminate POST bodies with an extra \r\n.  My 
> server has been reading all data available on the socket, which means 
> that the number of bytes sent to a CGI's stdin is two greater than the 
> supplied content length.
> [...]
> Or, do all clients in normal use supply content-length, and this is a 
> non-issue?

I have the reverse of this question: our clients send POST bodies, and
nothing but the POST bodies. (content-length == length of message)

We've only run across one instance where this caused problems, with a
CGI that wasn't paying attention to content-length.  Are there any
reasons (other than strict compatibility) we should change it?

Received on Tuesday, 26 September 1995 14:27:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:58 UTC