Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.5.5, 1.6.0
-
None
-
Windows 7 pro (64b)
Description
Hello,
Axis2 (server side) is not sending a compressed response to my Axis2 (client) When I set MC_ACCEPT_GZIP to true. The request is compressed, but never the response (verified with a local proxy).
Options options = stub._getServiceClient().getOptions();
options.setProperty(HTTPConstants.MC_GZIP_REQUEST, Boolean.TRUE);
options.setProperty(HTTPConstants.MC_GZIP_RESPONSE, Boolean.TRUE);
options.setProperty(HTTPConstants.MC_ACCEPT_GZIP , Boolean.TRUE);
options.setProperty(HTTPConstants.COMPRESSION_GZIP, Boolean.TRUE );
I've searched and found another issue where it was suggested that adding CHUNKED=false was needed for compression. However when I add
options.setProperty(HTTPConstants.CHUNKED, Boolean.TRUE);
I get a message back that says "Not in GZIP format"
Is this a bug or am I doing something wrong with my request.