Axis 2 Server response is not compressed when requested to be
-------------------------------------------------------------
Key: AXIS2-5126
URL: https://issues.apache.org/jira/browse/AXIS2-5126
Project: Axis2
Issue Type: Bug
Components: client-api
Affects Versions: 1.6.0, 1.5.5
Environment: Windows 7 pro (64b)
Reporter: Brent Thorington
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]