Understanding Errors

The following solution just came random to my mind and it worked!

Problem: While surfing around, I came across a website whose content encoding is not being supported with my latest Firefox v3.5.4 showed me unsupported compression error.

Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
* Please contact the website owners to inform them of this problem.

Solution: As per my knowledge web-servers generally use GZ compression and Firefox well supports that. Then what’s wrong here? Digging a bit into Firefox’s ‘about:config‘, I did a search for ‘gz’. The setting network.http.accept-encoding was set to gzip,deflate. What’s wrong? Let’s try setting it gzip,deflate,gz. And it worked!. The catch here is gzip and gz are two different extensions used for the same gzip compression. Eventually, the questions is who’s in fault, Firefox or the website?

– ankit

One thought on “Understanding Errors