updated HTTP request to allow gzip