Compress an HTTP Request in java

只谈情不闲聊 提交于 2021-01-28 04:31:35

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!