gzip - Why Chrome prompts for downloading a page as a .gz file on hyperlinks but not I enter the URL manually? -


i discovered strange behaviour on chrome while trying accesss pages. prompt download them .gz files instead of loading them.

this happens current chrome , on platforms.

when page loaded can see on inspector

resource interpreted document transferred mime type application/x-gzip: "https://confluence.example.com/display/engp/pr-1221".

i know these served nginx server configured use gzip compression, there nothing wrong this.

  gzip  on;  # that's on nginx part 

i sure wrong nginx configuration, what?

what makes problem more interesting (and annoying) if copy url hyperlink , paste browser open page correctly. yep, happens on hyperlinks.

i tried find bug report on chrome on thing able find others did report similar if not same problem reddit pages or github.com ones.

request url:https://confluence.example.com/display/engp/pr-1221 request method:get status code:200 ok request headersview source accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 accept-charset:utf-8,*;q=0.5 accept-encoding:gzip,deflate,sdch accept-language:en-us,en;q=0.8 connection:keep-alive dnt:1 host:example.com referer:https://example.com/browse/pr-1221 user-agent:mozilla/5.0 (macintosh; intel mac os x 10_8_3) applewebkit/537.22 (khtml, gecko) chrome/25.0.1364.152 safari/537.22 
 response headersview source access-control-allow-credentials:true access-control-allow-headers:dnt,x-mx-reqtoken,keep-alive,user-agent,x-requested-with,if-modified-since,cache-control,content-type access-control-allow-methods:get, post, options, head access-control-allow-origin:* baz:bah cache-control:no-cache, must-revalidate connection:keep-alive content-encoding:gzip content-type:text/html;charset=utf-8 date:mon, 04 mar 2013 13:29:48 gmt expires:thu, 01 jan 1970 00:00:00 gmt foo:bar server:nginx/1.2.6 transfer-encoding:chunked x-confluence-request-time:1362403788150 x-seraph-loginreason:ok 

i experienced same behavior , sent report chrome devs. meanwhile have disabled of chrome extensions , didn't recognize behavior anymore. feels kinda strange me, because works nice yesterday.

edit: found chrome causing extension. in case "hover zoom". other installed extension (adblock, pagespeed, tweetdeck , on) works fine , without "downloading .gz file" problem. dev working on problem (https://code.google.com/p/hoverzoom/issues/detail?id=489)

edit2: not use hoverzoom anymore, because extension spyware (take @ https://code.google.com/p/hoverzoom/issues/detail?id=489#c16). instead of hover-zoom using hover-free (https://chrome.google.com/webstore/detail/hover-free/hcmnnggnaofmhflgomfjfbndngdoogkj/related). hope helps you. caschy (http://stadt-bremerhaven.de/chrome-erweiterung-hoverzoom-sendet-heimlich-daten/)


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -