remove extra code for gzip requests, not done yet