You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/09/20 05:36:27 UTC
DO NOT REPLY [Bug 23287] New: -
mod_deflate does not properly format decompressed request content
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=23287>.
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=23287
mod_deflate does not properly format decompressed request content
Summary: mod_deflate does not properly format decompressed
request content
Product: Apache httpd-2.0
Version: 2.0.47
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: mod_deflate
AssignedTo: bugs@httpd.apache.org
ReportedBy: john@objectivelogic.com
CC: john@objectivelogic.com
mod_deflate is configured to decompress an inbound HTTP SOAP request (note: The Apache SOAP TCPTunnel/Monitor was used to capture the flows between the Apache proxy server and WebLogic):
POST /some/url HTTP/1.0
Host: localhost:1080
Content-Type: text/xml; charset=utf-8
Content-Length: 4727
SOAPAction: "http://some.soap.action"
Accept-Encoding: gzip,deflate
Content-Encoding: gzip
<SNIP: Compressed SOAP message/>
The HTTP request body (the SOAP request) is compressed in the gzip format.
mod_deflate does intercept and decompress the content.
Apache is also configured (using mod_proxy) to forward the request on to WebLogic. The request forwarded to WebLogic is as follows:
POST /some/url HTTP/1.1
Host: localhost:7101
Content-Type: text/xml; charset=utf-8
Content-Length: 4727 <== Note!
SOAPAction: "http://some.soap.action"
Accept-Encoding: gzip,deflate
Content-Encoding: gzip <== Note!
<SNIP: Decompressed SOAP message />
mod_deflate should mdoify (or remove) the Content-Encoding header to reflect the fact that the content is NOT compressed, and should re-write the Content-Length header to reflect the actual length of the decompressed content.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org