httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Benson <>
Subject POST with no data
Date Tue, 10 Sep 2002 16:55:27 GMT
Hi all,

I've been trying to write some tests and have been trying to send POST
requests with no body.  It seems that Apache::TestRequest::POST only
adds a Content-Length when the length of the content is nonzero, so
attempts to 'POST "/foo/bar", ""' result in a 411 Length Required from

I'm not nearly good enough with Perl to work out where POST is defined;
can anyone point me in the direction of what I need to change to cause a
content-length to be added to all POST requests?


[ ][ GnuPG 85A8F78B ][ ]

View raw message