Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 155:46eb23d9471d
nginx-0.0.1-2003-10-22-20:38:26 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 22 Oct 2003 16:38:26 +0000 |
parents | c71aeb75c071 |
children | 981e4af2a425 |
comparison
equal
deleted
inserted
replaced
154:eac26585476e | 155:46eb23d9471d |
---|---|
47 static ngx_http_header_t headers_in[] = { | 47 static ngx_http_header_t headers_in[] = { |
48 { ngx_string("Host"), offsetof(ngx_http_headers_in_t, host) }, | 48 { ngx_string("Host"), offsetof(ngx_http_headers_in_t, host) }, |
49 { ngx_string("Connection"), offsetof(ngx_http_headers_in_t, connection) }, | 49 { ngx_string("Connection"), offsetof(ngx_http_headers_in_t, connection) }, |
50 { ngx_string("If-Modified-Since"), | 50 { ngx_string("If-Modified-Since"), |
51 offsetof(ngx_http_headers_in_t, if_modified_since) }, | 51 offsetof(ngx_http_headers_in_t, if_modified_since) }, |
52 { ngx_string("User-Agent"), offsetof(ngx_http_headers_in_t, user_agent) }, | |
53 | |
52 { ngx_string("Content-Length"), | 54 { ngx_string("Content-Length"), |
53 offsetof(ngx_http_headers_in_t, content_length) }, | 55 offsetof(ngx_http_headers_in_t, content_length) }, |
54 { ngx_string("Accept-Encoding"), | 56 { ngx_string("Accept-Encoding"), |
55 offsetof(ngx_http_headers_in_t, accept_encoding) }, | 57 offsetof(ngx_http_headers_in_t, accept_encoding) }, |
56 | |
57 { ngx_string("Range"), offsetof(ngx_http_headers_in_t, range) }, | 58 { ngx_string("Range"), offsetof(ngx_http_headers_in_t, range) }, |
58 #if 0 | 59 #if 0 |
59 { ngx_string("If-Range"), offsetof(ngx_http_headers_in_t, if_range) }, | 60 { ngx_string("If-Range"), offsetof(ngx_http_headers_in_t, if_range) }, |
60 #endif | 61 #endif |
61 | 62 |
62 { ngx_string("User-Agent"), offsetof(ngx_http_headers_in_t, user_agent) }, | |
63 { ngx_string("Keep-Alive"), offsetof(ngx_http_headers_in_t, keep_alive) }, | 63 { ngx_string("Keep-Alive"), offsetof(ngx_http_headers_in_t, keep_alive) }, |
64 | 64 |
65 { ngx_null_string, 0 } | 65 { ngx_null_string, 0 } |
66 }; | 66 }; |
67 | 67 |