allow a chunked body for 201 responses

This commit is contained in:
Igor Sysoev 2010-01-11 15:14:23 +00:00
parent d8be48a546
commit fcaa367929

View File

@ -52,7 +52,6 @@ ngx_http_chunked_header_filter(ngx_http_request_t *r)
{
if (r->headers_out.status == NGX_HTTP_NOT_MODIFIED
|| r->headers_out.status == NGX_HTTP_NO_CONTENT
|| r->headers_out.status == NGX_HTTP_CREATED
|| r != r->main
|| (r->method & NGX_HTTP_HEAD))
{