Quaintjade
V2EX  ›  问与答

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

  •  
  •   Quaintjade · Oct 18, 2014 · 2213 views
    This topic created in 4275 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   ·   1073 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 22:40 · PVG 06:40 · LAX 15:40 · JFK 18:40
    ♥ Do have faith in what you're doing.