Mercurial > hg > nginx-quic
comparison src/http/ngx_http_core_module.c @ 3372:6b8e5c882e47
support "*" in gzip_types, ssi_types, etc
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 30 Nov 2009 13:15:10 +0000 |
parents | 75b96847351a |
children | 49f977515733 |
comparison
equal
deleted
inserted
replaced
3371:102fdc22de4d | 3372:6b8e5c882e47 |
---|---|
1569 ngx_http_test_content_type(ngx_http_request_t *r, ngx_hash_t *types_hash) | 1569 ngx_http_test_content_type(ngx_http_request_t *r, ngx_hash_t *types_hash) |
1570 { | 1570 { |
1571 u_char c, *lowcase; | 1571 u_char c, *lowcase; |
1572 size_t len; | 1572 size_t len; |
1573 ngx_uint_t i, hash; | 1573 ngx_uint_t i, hash; |
1574 | |
1575 if (types_hash->size == 0) { | |
1576 return (void *) 4; | |
1577 } | |
1574 | 1578 |
1575 if (r->headers_out.content_type.len == 0) { | 1579 if (r->headers_out.content_type.len == 0) { |
1576 return NULL; | 1580 return NULL; |
1577 } | 1581 } |
1578 | 1582 |