Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 1 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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.