summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-11-27 14:22:34 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-11-27 14:22:34 +0000
commite51f06eb0146192197d15ed5df23bb6cbfbdac29 (patch)
treee2d64a053fb36f433d98836946f2cf6a9fe24d62 /src/http/ngx_http_request.c
parentacd2f06a35612343ffb305d7054ae57cdf4ad673 (diff)
downloadnginx-e51f06eb0146192197d15ed5df23bb6cbfbdac29.tar.gz
nginx-e51f06eb0146192197d15ed5df23bb6cbfbdac29.tar.bz2
r2068 merge:
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 aa61c5e62..738c1fde9 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -109,6 +109,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),