From 8fd830adc0a3bcdcf471237e2c4445d15e64face Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 2 Oct 2006 10:22:51 +0000 Subject: set "Content-Length: 0" for errors handled by "return 204" --- src/http/ngx_http_request.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/http/ngx_http_request.h') diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index b9ad2b54d..08ccd1348 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -430,6 +430,7 @@ struct ngx_http_request_s { unsigned plain_http:1; unsigned chunked:1; unsigned header_only:1; + unsigned zero_body:1; unsigned keepalive:1; unsigned lingering_close:1; unsigned discard_body:1; -- cgit v1.2.3