httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23899] New: - Header Expect: 100 and mod_rewrite and mod_gzip (not zipping)
Date Fri, 17 Oct 2003 18:30:52 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23899>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23899

Header Expect: 100 and mod_rewrite and mod_gzip (not zipping)

           Summary: Header Expect: 100 and mod_rewrite and mod_gzip (not
                    zipping)
           Product: Apache httpd-1.3
           Version: 1.3.27
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_rewrite
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: dallas_sallad@yahoo.com


If the Expect: 100-continue header is passed in a request to the apache server 
which has mod_rewrite configured to forward the request to an IIS server the 
resulting page is never zipped by mod_gzip.  Removing the Expect: 100 header 
returns a zipped page.  The mod_gzip log looks like this.

Successful zip
10.254.33.174 - - [16/Oct/2003:18:10:24 -0700] "qagateway01.qa.myco.com 
POST /ws/api.dll HTTP/1.1" 200 477 mod_gzip: OK In:1258 -< Out:262 = 80 pct.

Unsuccessful zip
10.254.33.174 - - [16/Oct/2003:18:54:32 -0700] "qagateway01.qa.myco.com 
POST /ws/api.dll HTTP/1.1" 200 1480 mod_gzip: SEND_AS_IS:NO_200 In:0 -< Out:0 = 
0 pct.

The headers in the unsuccessful response look like this.  It's difficult to 
tell if both headers are part of the same response.

HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Date: Fri, 17 Oct 2003 01:30:18 GMT
Server: Microsoft-IIS/4.0
Content-Type: text/xml
Content-length: 1258
X-Cache: MISS from qagateway01.qa.ebay.com
Connection: close

The request is also zipped if mod_rewrite is removed from the equation 
regardless of the Expect: 100-continue header.

Unfortunately Expect: 100-continue is required in MS .Net httpwebrequest class 
but I was also able to replicate this bug with a perl script.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message