aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-06-26 13:00:39 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-06-26 13:00:39 +0000
commit1e1f4c8a04f32907c1b9e263ec45bf20bb6210bb (patch)
treed438f11f031241622edd79953dc4dcd91ff63187 /src/http/ngx_http_request.c
parent24329bf299b2ce4f4d9b02306651e1d64a4c6216 (diff)
downloadnginx-1e1f4c8a04f32907c1b9e263ec45bf20bb6210bb.tar.gz
nginx-1e1f4c8a04f32907c1b9e263ec45bf20bb6210bb.zip
the "Expect" header support
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index a42d1e23b..d707e33be 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -106,6 +106,10 @@ ngx_http_header_t ngx_http_headers_in[] = {
offsetof(ngx_http_headers_in_t, transfer_encoding),
ngx_http_process_header_line },
+ { ngx_string("Expect"),
+ offsetof(ngx_http_headers_in_t, expect),
+ ngx_http_process_unique_header_line },
+
#if (NGX_HTTP_GZIP)
{ ngx_string("Accept-Encoding"),
offsetof(ngx_http_headers_in_t, accept_encoding),