Cannot remove Content Length header
Luc Juggery
luc.juggery at gmail.com
Sat Sep 24 12:58:59 UTC 2011
Hello,
thanks for your answers.
Maxim, what would you recommend to fix the backend ? I do not really see where could be the violation in fact.
--
Luc
Le Sep 24, 2011 à 14:05, Maxim Dounin <mdounin at mdounin.ru> a écrit :
> Hello!
>
> On Sat, Sep 24, 2011 at 01:43:12PM +0200, Luc Juggery wrote:
>
>> Hello,
>>
>> I'm using Nginx as a front end to my node.js application, nginx proxying
>> https request to my app.
>> When the browser gets the response back, instead of pure json
>> ({"error":"query error","message":"Parameter(s) missing: user,password"}), I
>> receive something like:
>>
>> 47
>> {"error":"query error","message":"Parameter(s) missing: user,password"}
>> 0
>
> This is chunked encoding, likely sent by your backend in violation
> of HTTP specification.
>
> Right now there are two options available:
>
> 1. Fix your backend.
>
> 2. Upgrade to nginx 1.1.4, it has code needed to talk to such
> broken backends.
>
> Maxim Dounin
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
More information about the nginx
mailing list