[9134] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

Re: Termination of POST body

daemon@ATHENA.MIT.EDU (Dave Long)
Tue Sep 26 14:29:20 1995

To: wmperry@spry.com
Cc: Paul Phillips <paulp@cerf.net>, www-talk@w3.org
In-Reply-To: Your message of "Tue, 26 Sep 1995 05:58:00 PDT."
             <m0sxZb2-00005kC@monolith> 
Date: Tue, 26 Sep 1995 11:26:23 -0700
From: Dave Long <dave@navisoft.com>
Resent-From: 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?

-Dave


home help back first fref pref prev next nref lref last post