aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-08-04 11:29:09 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-08-04 11:29:09 +0000
commitb5bc3f989ff0d70508705a10708c4f8b84913dc0 (patch)
treed355635e4b56da26bc350e23f0302c8ec65dbea1 /src/http/ngx_http_request.h
parent42511c05c76b8434aae7a33c26516f7368c3c479 (diff)
downloadnginx-b5bc3f989ff0d70508705a10708c4f8b84913dc0.tar.gz
nginx-b5bc3f989ff0d70508705a10708c4f8b84913dc0.zip
test Content-Type via hash:
*) ngx_http_test_content_type() *) ngx_http_types_slot() *) ngx_http_merge_types()
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index be22db636..9a6223963 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -244,6 +244,8 @@ typedef struct {
size_t content_type_len;
ngx_str_t content_type;
ngx_str_t charset;
+ u_char *content_type_lowcase;
+ ngx_uint_t content_type_hash;
ngx_array_t cache_control;