changeset 3411:50ad44defdbb

allow a chunked body for 201 responses
author Igor Sysoev <igor@sysoev.ru>
date Mon, 11 Jan 2010 15:14:23 +0000
parents bfcc9be4f1c9
children 59dee6f7f3af
files src/http/modules/ngx_http_chunked_filter_module.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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_
 {
     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))
     {