mirror of https://github.com/nginx/nginx.git
Merge 6cce5954f6
into 78d1ab5a2c
This commit is contained in:
commit
aa2cf6452c
|
@ -1574,7 +1574,7 @@ ngx_http_test_content_type(ngx_http_request_t *r, ngx_hash_t *types_hash)
|
|||
return (void *) 4;
|
||||
}
|
||||
|
||||
if (r->headers_out.content_type.len == 0) {
|
||||
if (r->headers_out.content_type_len == 0) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue