I deleted the 'accept-encoding' key as you said and it worked. No more gzip.
Thread solved.
Thank you!
 
Request has a received_headers attribute which refers to a dictionary.  You
can delete the "accept" key from it.  Make sure you do it before you call
the base process method, though:

  def process(self):
      try:
          del self.received_headers['accept']
      except KeyError:
          pass
      proxy.ProxyRequest.process(self)

Or, in Twisted 8.2, you can use a slightly better headers API:

  def process(self):
      self.requestHeaders.removeHeader('accept')
      proxy.ProxyRequest.process(self)


Jean-Paul

_______________________________________________
Twisted-web mailing list
Twisted-web@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web


--
Radu