You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consider adding more headers to HeaderNames #31374
However if the server is also reverse-proxying/forwarding/routing between other servers; then response headers also become constructed strings (as they are parsed from the network). So that would then potentially include:
// Security headerpublicstaticreadonlystringReferrerPolicy="Referrer-Policy";// Allow the browser to read cross origin timing values for the Resource Timing APIpublicstaticreadonlystringTimingAllowOrigin="Timing-Allow-Origin";// Ye olde "ASP.NET" headerpublicstaticreadonlystringXPoweredBy="X-Powered-By";
Location is used for redirect; but sometimes Refresh is also used as a non-JS delay timed redirect (with interstitial)
Couldn't someone else write the code, and you would just need to confirm it? Because that would speed up the emergence of new header names. @martincostello
Activity
kimsey0 commentedon Feb 8, 2023
Accept-CH(client hints, per RFC 8942) would be nice to add too.MaRokas2005 commentedon Jun 30, 2025
Couldn't someone else write the code, and you would just need to confirm it? Because that would speed up the emergence of new header names. @martincostello
MaRokas2005 commentedon Jul 1, 2025
Also you do not need 'X-' as prefix of custom header names. Link: don't need prefix '-'