Content-Length header missing after proxying
Igor Sysoev
igor at sysoev.ru
Wed Aug 24 12:21:32 UTC 2011
On Wed, Aug 24, 2011 at 12:20:49PM +0100, James Fidell wrote:
> On 24/08/11 11:37, Igor Sysoev wrote:
>
> > Then only debug log may help:
> > http://nginx.org/en/docs/debugging_log.html
>
> And it did. Thank you.
>
> When I connect to the application with wget it uses HTTP/1.1, which gets
> a content-length header in the response. nginx is connecting using
> HTTP/1.0, which doesn't.
>
> I'm guessing there's not a whole lot I can do about that?
It's strange that the application sends Content-Length for HTTP/1.1.
It's valid header in HTTP/1.0. HTTP/1.1 allows to send chunked response
without length.
--
Igor Sysoev
More information about the nginx
mailing list