tailrecursion / ring-proxy

HTTP proxy ring middleware for Clojure web applications.
47 stars 14 forks source link

remove 'Transfer-Encoding' from headers #14

Open ZabelTech opened 9 years ago

ZabelTech commented 9 years ago

I got a compressed chunked response from my remote and i had to remove the 'Transfer-Encoding' header from my response to make it work.

webmonarch commented 9 years ago

:+1:

bmaddy commented 9 years ago

:+1: This fixed my problem too.

Here's the errors I was getting when proxying responses from a rails app (for those who may be searching). In the browser (chrome):

net::ERR_INVALID_CHUNKED_ENCODING

From curl:

curl: (56) Illegal or missing hexadecimal sequence in chunked-encoding