I just set this up and hit a weird case while testing. Firefox sends an "accept-encoding: gzip" header. The default behavior of the code to to pass this header on, but it doesn't include an encoding header with the returned data, so I was seeing results that were compressed but being interpreted badly by the receiver.
I locally solved it by just deleting any "accept-encoding" headers before sending the request, but it would probably be better to pass on the returned content-encoding header if provided.
I just set this up and hit a weird case while testing. Firefox sends an "accept-encoding: gzip" header. The default behavior of the code to to pass this header on, but it doesn't include an encoding header with the returned data, so I was seeing results that were compressed but being interpreted badly by the receiver.
I locally solved it by just deleting any "accept-encoding" headers before sending the request, but it would probably be better to pass on the returned content-encoding header if provided.