Mercurial > hg > nginx
comparison src/http/ngx_http.h @ 2138:fb3b084e7d42
test Content-Type via hash:
*) ngx_http_test_content_type()
*) ngx_http_types_slot()
*) ngx_http_merge_types()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 04 Aug 2008 11:29:09 +0000 |
parents | f321b59ae0e9 |
children | 723df5089c05 |
comparison
equal
deleted
inserted
replaced
2137:76d5af541412 | 2138:fb3b084e7d42 |
---|---|
105 | 105 |
106 ngx_int_t ngx_http_discard_request_body(ngx_http_request_t *r); | 106 ngx_int_t ngx_http_discard_request_body(ngx_http_request_t *r); |
107 void ngx_http_block_reading(ngx_http_request_t *r); | 107 void ngx_http_block_reading(ngx_http_request_t *r); |
108 | 108 |
109 | 109 |
110 char *ngx_http_types_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); | |
111 char *ngx_http_merge_types(ngx_conf_t *cf, ngx_array_t *keys, | |
112 ngx_hash_t *types_hash, ngx_array_t *prev_keys, ngx_hash_t *prev_types_hash, | |
113 ngx_str_t *default_types); | |
114 char *ngx_http_set_default_types(ngx_conf_t *cf, ngx_array_t **types, | |
115 ngx_str_t *default_type); | |
116 | |
117 | |
110 extern ngx_module_t ngx_http_module; | 118 extern ngx_module_t ngx_http_module; |
111 | 119 |
112 | 120 |
113 extern ngx_http_output_header_filter_pt ngx_http_top_header_filter; | 121 extern ngx_http_output_header_filter_pt ngx_http_top_header_filter; |
114 extern ngx_http_output_body_filter_pt ngx_http_top_body_filter; | 122 extern ngx_http_output_body_filter_pt ngx_http_top_body_filter; |