aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-10-02 10:22:51 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-10-02 10:22:51 +0000
commit8fd830adc0a3bcdcf471237e2c4445d15e64face (patch)
tree45625134d5a27490442c031ba404d49f32c069be /src/http/ngx_http_request.h
parent8c0dec813f2ce4b29c94452dfda16908a3927800 (diff)
downloadnginx-8fd830adc0a3bcdcf471237e2c4445d15e64face.tar.gz
nginx-8fd830adc0a3bcdcf471237e2c4445d15e64face.zip
set "Content-Length: 0" for errors handled by "return 204"
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h1
1 files changed, 1 insertions, 0 deletions
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;