This commit is contained in:
yueshangzuo 2026-05-25 10:02:00 +08:00 committed by GitHub
commit aec96bcd23
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;
}