Remy Maucherat wrote:
Bill Stoddard wrote:
Nope, that's incorrect.
From RFC2616, the official HTTP standard definition:
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.
A bodyless POST request w/o a TE or CL header field is permitted by
RFC2616. Of course, if the POST really does have a body, then bad
things are guaranteed to happen.
It's a HTTP/1.0 request. Is that still true ?
Yes, HTTP/1.1 servers can handle HTTP/1.0 requests. Here's an experiment to
try.
telnet www.apache.org 80
then type in:
POST /foo/bar HTTP/1.0
<enter>
<enter>
watch what happens. Apache httpd handles the request properly.
Bill
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]