开发者

Test Server HTTP 1.1 Compression

I want to find 开发者_如何学运维about the HTTP 1.1 compression of the site I am talking to. I need to do it programmatically in Java.

What I want to find out is: Does the server support compression for incoming requests? Does the server support compression for responses?

Thanks in advance.


There isn't a general case answer for this. The HTTP/1.1 spec lets the client tell the server that it accepts compressed responses, but from the response you can't tell a difference from a server that can't compress responses and a server that just decided not to compress your single response.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜