aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http.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.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.h')
-rw-r--r--src/http/ngx_http.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h
index fe2b7cc6c..180da8194 100644
--- a/src/http/ngx_http.h
+++ b/src/http/ngx_http.h
@@ -107,6 +107,14 @@ ngx_int_t ngx_http_discard_request_body(ngx_http_request_t *r);
void ngx_http_block_reading(ngx_http_request_t *r);
+char *ngx_http_types_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
+char *ngx_http_merge_types(ngx_conf_t *cf, ngx_array_t *keys,
+ ngx_hash_t *types_hash, ngx_array_t *prev_keys, ngx_hash_t *prev_types_hash,
+ ngx_str_t *default_types);
+char *ngx_http_set_default_types(ngx_conf_t *cf, ngx_array_t **types,
+ ngx_str_t *default_type);
+
+
extern ngx_module_t ngx_http_module;