Quaintjade
V2EX  ›  问与答

为什么反代 Google 时,返回的总是 gzip?

  •  
  •   Quaintjade · Oct 18, 2014 · 2148 views
    This topic created in 4223 days ago, the information mentioned may be changed or developed.
    明明设置了 proxy_set_header Accept-Encoding ""; ,但只要用firefox或chrome访问,返回的header总是 content-encoding: gzip

    用IE就不会,返回 Transfer-encoding: chunked

    但即使把firefox的user-agent伪装成IE,照样返回gzip。

    这究竟是为什么?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3185 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 14:28 · PVG 22:28 · LAX 07:28 · JFK 10:28
    ♥ Do have faith in what you're doing.