Fix problem with compressed url content (gzip)