feat(utils/headers): add HTTP fields newly registered with IANA (#5153)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Hiroki Akahoshi · committed by GitHub · parent 30277ae · Browse files · 1 file·+23 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+23 added−1 removed
- other:+23 added−1 removed
Provenance
- Commit
5d911d2- Tree
44fa2a0- Author
Hiroki Akahoshi <64849251+akahoshi1421@users.noreply.github.com>- Committer
GitHub <noreply@github.com>- Parent
30277ae
1 file changed+23 added−1 removed
modified:src/utils/headers.ts+23 added-1 removed
15 unmodified lines16 | 'Accept-Features'17 | 'Accept-Language'18 | 'Accept-Patch'19 | 'Accept-Post'20+ | 'Accept-Query'21 | 'Accept-Ranges'22 | 'Accept-Signature'23 | 'Access-Control'24 | 'Access-Control-Allow-Credentials'3 unmodified lines28 | 'Access-Control-Expose-Headers'29 | 'Access-Control-Max-Age'30 | 'Access-Control-Request-Headers'31 | 'Access-Control-Request-Method'32+ | 'Activate-Storage-Access'33 | 'Age'34 | 'Allow'35 | 'ALPN'36 | 'Alt-Svc'10 unmodified lines47 | 'C-Opt'48 | 'C-PEP'49 | 'C-PEP-Info'50 | 'Cache-Control'51+ | 'Cache-Group-Invalidation'52+ | 'Cache-Groups'53 | 'Cache-Status'54 | 'Cal-Managed-ID'55 | 'CalDAV-Timezones'56 | 'Capsule-Protocol'46 unmodified lines103 | 'Deprecation'104 | 'Depth'105 | 'Derived-From'106 | 'Destination'107+ | 'Detached-JWS'108 | 'Differential-ID'109 | 'Dictionary-ID'110 | 'Digest'111 | 'DPoP'19 unmodified lines131 | 'If-Schedule-Tag-Match'132 | 'If-Unmodified-Since'133 | 'IM'134 | 'Include-Referred-Token-Binding-ID'135+ | 'Incremental'136 | 'Isolation'137 | 'Keep-Alive'138 | 'Label'139 | 'Last-Event-ID'65 unmodified lines205 | 'Retry-After'206 | 'Safe'207 | 'Schedule-Reply'208 | 'Schedule-Tag'209+ | 'Sec-Fetch-Dest'210+ | 'Sec-Fetch-Mode'211+ | 'Sec-Fetch-Site'212+ | 'Sec-Fetch-Storage-Access'213+ | 'Sec-Fetch-User'214 | 'Sec-GPC'215 | 'Sec-Purpose'216 | 'Sec-Token-Binding'217 | 'Sec-WebSocket-Accept'5 unmodified lines223 | 'Server'224 | 'Server-Timing'225 | 'Set-Cookie'226 | 'Set-Cookie2'227+ | 'Set-Txn'228 | 'SetProfile'229 | 'Signature'230 | 'Signature-Input'231 | 'SLUG'12 unmodified lines244 | 'Tracestate'245 | 'Trailer'246 | 'Transfer-Encoding'247 | 'TTL'248+ | 'Unencoded-Digest'249 | 'Upgrade'250 | 'Urgency'251 | 'URI'252 | 'Use-As-Dictionary'3 unmodified lines256 | 'Via'257 | 'Want-Content-Digest'258 | 'Want-Digest'259 | 'Want-Repr-Digest'260+ | 'Want-Unencoded-Digest'261 | 'Warning'262 | 'WWW-Authenticate'263 | 'X-Content-Type-Options'264 | 'X-Frame-Options'265 266 export type ResponseHeader =267+ | 'Accept-Query'268 | 'Access-Control-Allow-Credentials'269 | 'Access-Control-Allow-Headers'270 | 'Access-Control-Allow-Methods'271 | 'Access-Control-Allow-Origin'272 | 'Access-Control-Expose-Headers'273 | 'Access-Control-Max-Age'274+ | 'Activate-Storage-Access'275 | 'Age'276 | 'Allow'277 | 'Cache-Control'278+ | 'Cache-Group-Invalidation'279+ | 'Cache-Groups'280 | 'Clear-Site-Data'281 | 'Content-Disposition'282 | 'Content-Encoding'283 | 'Content-Language'9 unmodified lines293 | 'Cross-Origin-Resource-Policy'294 | 'Date'295 | 'ETag'296 | 'Expires'297+ | 'Incremental'298 | 'Last-Modified'299 | 'Location'300 | 'Permissions-Policy'301 | 'Pragma'20 unmodified lines322 | 'Server'323 | 'Server-Timing'324 | 'Service-Worker-Navigation-Preload'325 | 'Set-Cookie'326+ | 'Set-Txn'327 | 'Strict-Transport-Security'328 | 'Timing-Allow-Origin'329 | 'Trailer'330 | 'Transfer-Encoding'331+ | 'Unencoded-Digest'332 | 'Upgrade'333 | 'Vary'313- | 'WWW-Authenticate'334+ | 'Want-Unencoded-Digest'335 | 'Warning'336+ | 'WWW-Authenticate'337 | 'X-Content-Type-Options'338 | 'X-DNS-Prefetch-Control'339 | 'X-Frame-Options'340 | 'X-Permitted-Cross-Domain-Policies'15 unmodified lines