This commit is contained in:
yueshangzuo 2026-05-12 17:09:07 -07:00 committed by GitHub
commit 4e0a8d7f96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1600,7 +1600,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;
}