Consider adding more headers to HeaderNames
#31374
Labels
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Perf
Milestone
Follow up to #31311 (comment)
List of HTTP header fields
With #31311 there are advantages to having items in the header list (single instance string).
This is most useful for request headers as they are always constructed strings; whereas response headers set in code are usually and interned string.
Non-exhaustive list of headers not currently included but are interesting:
Commonly used request headers:
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:
Location
is used for redirect; but sometimesRefresh
is also used as a non-JS delay timed redirect (with interstitial)Never seen; but rfc7240
The text was updated successfully, but these errors were encountered: