From fcaa367929e2484a94f3c1b6276ba56ac96295a3 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 11 Jan 2010 15:14:23 +0000 Subject: [PATCH] allow a chunked body for 201 responses --- src/http/modules/ngx_http_chunked_filter_module.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/http/modules/ngx_http_chunked_filter_module.c b/src/http/modules/ngx_http_chunked_filter_module.c index 846053ff4..25b7fe8e8 100644 --- a/src/http/modules/ngx_http_chunked_filter_module.c +++ b/src/http/modules/ngx_http_chunked_filter_module.c @@ -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)) {