DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=38014 ------- Additional Comments From basant.kukreja@sun.com 2007-02-02 11:30 -------
Bug also reproduces with mod_perl.

For a simple test script test.pl
#!/usr/bin/perl
print "Content-type: text/plain\n\n";
print "mod_perl 2.0 rocks!\n";

If the request contains :
GET /perl/test.pl HTTP/1.1
Host: myhost.domain
Content-Length: 3
Expect: 100-continue

abc

The output is :
HTTP/1.1 200 OK
Date: Fri, 02 Feb 2007 19:17:04 GMT
Server: Apache/2.2.5-dev (Unix) mod_perl/2.0.4-dev Perl/v5.8.8
Transfer-Encoding: chunked
Content-Type: text/plain

14
mod_perl 2.0 rocks!

HTTP/1.1 100 Continue

0

--------------------------------------
Note that "HTTP/1.1 100 Continue" is printed after the response.

httpd.conf contains :
LoadModule perl_module modules/mod_perl.so
Alias /perl/ /disk/apache/apache2/perl/

  SetHandler perl-script
  PerlResponseHandler ModPerl::Registry
  PerlOptions +ParseHeaders
  Options +ExecCGI
  Order allow,deny
  Allow from all 

--------------------------------------

However if the request is /index.html then the apache behavior is correct.
GET /index.html HTTP/1.1
Host: myhost.domain
Content-Length: 3
Expect: 100-continue

abc


-----
Response
-----

HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Fri, 02 Feb 2007 19:23:03 GMT
Server: Apache/2.2.5-dev (Unix) mod_perl/2.0.4-dev Perl/v5.8.8
Last-Modified: Fri, 26 Jan 2007 21:40:07 GMT
ETag: "7008b-2c-5f0e7bc0"
Accept-Ranges: bytes
Content-Length: 44
Content-Type: text/html

It works!

-- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org