chunked_transfer_encoding seems doesn't work as expected

Maxim Dounin mdounin at mdounin.ru
Wed Nov 19 13:13:29 UTC 2014


Hello!

On Wed, Nov 19, 2014 at 08:49:33PM +0800, weiyuefei wrote:

> When i try to use the directive "chunked_transfer_encoding" to 
> control the encoding type of output data, it failed to output 
> the chunked data even thougth i turned on the directive as 
> "chunked_transfer_encoding on;".

The "chunked_transfer_encoding" directive allows to disable use of 
chunked transfer encoding if Content-Length isn't known.  It 
defaults to "on" and can be switched off as a workaround for 
broken clients which claim HTTP/1.1 support but doesn't understand 
chunked transfer encoding.  It is not expected to change handling 
of requests with known Content-Length.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list