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.
10.254.33.174 - - [16/Oct/2003:18:10:24 -
POST /ws/api.dll HTTP/1.1" 200 477 mod_gzip: OK
In:1258 -< Out:262 = 80 pct.
10.254.33.174 - - [16/Oct/2003:18:54:32 -
POST /ws/api.dll HTTP/1.1" 200 1480 mod_gzip:
SEND_AS_IS:NO_200 In:0 -< Out:0 =
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
X-Cache: MISS from qagateway01.qa.ebay.com
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
Log in to post a comment.