• Will Chandler's avatar
    Don't use 'accept-encoding' in HttpIO requests · 7647af6f
    Will Chandler authored
    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.
    7647af6f
http_io.rb 4.48 KB