mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
HTTP/3: static table cleanup.
This commit is contained in:
parent
fa1e1beadc
commit
7a0b840c51
@ -48,7 +48,7 @@ static ngx_http_v3_header_t ngx_http_v3_static_table[] = {
|
|||||||
{ ngx_string("accept"), ngx_string("*/*") },
|
{ ngx_string("accept"), ngx_string("*/*") },
|
||||||
{ ngx_string("accept"),
|
{ ngx_string("accept"),
|
||||||
ngx_string("application/dns-message") },
|
ngx_string("application/dns-message") },
|
||||||
{ ngx_string("accept-encoding"), ngx_string("gzip,") },
|
{ ngx_string("accept-encoding"), ngx_string("gzip, deflate, br") },
|
||||||
{ ngx_string("accept-ranges"), ngx_string("bytes") },
|
{ ngx_string("accept-ranges"), ngx_string("bytes") },
|
||||||
{ ngx_string("access-control-allow-headers"),
|
{ ngx_string("access-control-allow-headers"),
|
||||||
ngx_string("cache-control") },
|
ngx_string("cache-control") },
|
||||||
@ -90,7 +90,8 @@ static ngx_http_v3_header_t ngx_http_v3_static_table[] = {
|
|||||||
ngx_string("max-age=31536000;includesubdomains;preload") },
|
ngx_string("max-age=31536000;includesubdomains;preload") },
|
||||||
{ ngx_string("vary"), ngx_string("accept-encoding") },
|
{ ngx_string("vary"), ngx_string("accept-encoding") },
|
||||||
{ ngx_string("vary"), ngx_string("origin") },
|
{ ngx_string("vary"), ngx_string("origin") },
|
||||||
{ ngx_string("x-content-type-options"),ngx_string("nosniff") },
|
{ ngx_string("x-content-type-options"),
|
||||||
|
ngx_string("nosniff") },
|
||||||
{ ngx_string("x-xss-protection"), ngx_string("1;mode=block") },
|
{ ngx_string("x-xss-protection"), ngx_string("1;mode=block") },
|
||||||
{ ngx_string(":status"), ngx_string("100") },
|
{ ngx_string(":status"), ngx_string("100") },
|
||||||
{ ngx_string(":status"), ngx_string("204") },
|
{ ngx_string(":status"), ngx_string("204") },
|
||||||
@ -123,9 +124,9 @@ static ngx_http_v3_header_t ngx_http_v3_static_table[] = {
|
|||||||
{ ngx_string("access-control-request-method"),
|
{ ngx_string("access-control-request-method"),
|
||||||
ngx_string("post") },
|
ngx_string("post") },
|
||||||
{ ngx_string("alt-svc"), ngx_string("clear") },
|
{ ngx_string("alt-svc"), ngx_string("clear") },
|
||||||
{ ngx_string("horization"), ngx_string("") },
|
{ ngx_string("authorization"), ngx_string("") },
|
||||||
{ ngx_string("content-security-policy"),
|
{ ngx_string("content-security-policy"),
|
||||||
ngx_string("script-src") },
|
ngx_string("script-src 'none';object-src 'none';base-uri 'none'") },
|
||||||
{ ngx_string("early-data"), ngx_string("1") },
|
{ ngx_string("early-data"), ngx_string("1") },
|
||||||
{ ngx_string("expect-ct"), ngx_string("") },
|
{ ngx_string("expect-ct"), ngx_string("") },
|
||||||
{ ngx_string("forwarded"), ngx_string("") },
|
{ ngx_string("forwarded"), ngx_string("") },
|
||||||
|
Loading…
Reference in New Issue
Block a user