Here is your problem... >ACCEPT_ENCODING: gzip,deflate,compress;q=0.9 The UNDERSCORE symbol in "ACCEPT_ENCODING" is wrong. It should be "Accept-Encoding:" with HYPHEN and NOT an UNDERSCORE.