问题
I want to compress my HTTP request before sending it in java. how to do please ? I'm using JBoss4.2 as a Server
回答1:
I guess you mean "response". See here on how to do it - you have to enable GZIP compression.
来源:https://stackoverflow.com/questions/3370335/compress-an-http-request-in-java