I'm running some automated tests against Apache, and have gotten
fails with chunked POSTs.
I've found information on ApacheWeek saying support of HTTP 1.1,
included the ability to:
Receive chunked POST and PUT submissions
The following is one of the tests, that I think is attempting
to do a chunked POST, and is failing.
POST http://localhost/cgi-bin/echo.pl HTTP/1.1Here is the response Apache gave:
Host: localhost
Transfer-encoding: chunked0001c
The twenty-eight characters0
GET http://localhost/small.html HTTP/1.1
Host: localhost
Connection: close
HTTP/1.1 411 Length RequiredI assume Apache does support the HTTP 1.1 spec and that
Date: Wed, 27 Oct 1999 13:31:29 GMT
Server: Apache/1.3.9 (Unix)
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html11d
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>411 Length Required</TITLE>
</HEAD><BODY>
<H1>Length Required</H1>
A request of the requested method POST requires a valid Content-length.<P>
chunked Transfer-Encoding forbidden: /cgi-bin/echo.pl<P>
</BODY></HTML>
chunked POST can be used to return dynamic CGI output, so
I don't understand why such tests are failing. But maybe this
test isn't testing what I think it is.
Anyone know what's going on?
Thanks,
Tom