Don't use 'accept-encoding' in HttpIO requests
Net::HTTP does not automatically decompress requests sent with a range header, as is done by HttpIO#request, causing the body of any gzipped responses to be unreadable. This change removes the 'accept-encoding' header from requests sent by HttpIO, ensuring responses are not gzipped.
Showing
Please register or sign in to comment