Welcome! Log In Create A New Profile

Advanced

Re: Content-length Missing when response proxy_pass a special backend

October 10, 2011 12:03AM
Hi, Maxim,
Thanks for your replies.
I got the reason when my partner check his code.
Trouble shooting:
If the backend did not set "Content-Length" or "Chunked" in headers , nginx will use chunked as default, but curl and firefox will use "Content-Length" as default. This makes me lose direction for the problem, lol.
So if backend set "Content-Length" in his response headers, everything is ok!

Btw, If I want use gzip for downloading, is there any method support use "Content-Length" ? I look up GzipStaticModule document, there is not introduction for this.
With kind Regards!


fzuslide
Subject Author Posted

Content-length Missing when response proxy_pass a special backend

fzuslide October 09, 2011 10:26AM

Re: Content-length Missing when response proxy_pass a special backend

Maxim Dounin October 09, 2011 04:56PM

Re: Content-length Missing when response proxy_pass a special backend

fzuslide October 10, 2011 12:03AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 177
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready