Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've found that downloading certain gzip compressed files from our workplace's internal network causes the files to be decompressed as part of the download process. I don't want this to happen (they're linux kernel images). Can I stop it? This seems to happen in all web browsers I try, but not if I use wget.

share|improve this question
up vote 2 down vote accepted

It's common to use GZip to compress data sent over HTTP connections so browsers will extract the data if the see the header Content-Encoding: gzip. Almost certainly the server on your internal network is configured to send these files with both Content-Type: application/x-gzip and Content-Encoding: gzip headers. This is not a great set up on your server; there was some discussion among Firefox developers about how to deal with this situation but they decided that if people wanted to do that with a server that was their problem :)

Your best bet is to fix your internal server - exactly how depends on which server you're using. If you can't do that, you can try changing the accept headers in your browser (Firefox instructions). That might not work since not all servers will respect those, and you'll want to remember to change them back since they will slow down your browser on other sites.

share|improve this answer
Thanks - I guessed it might be server related. – jrb Mar 20 '13 at 14:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .