开发者

Test Server HTTP 1.1 Compression

开发者 https://www.devze.com 2022-12-10 07:57 出处:网络
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.

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

精彩评论

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