Add header `Request-Context` to class Microsoft.Net.Http.Headers.HeaderNames
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
It’s used by Application Insights.
Describe the solution you’d like
Add header Request-Context
to class Microsoft.Net.Http.Headers.HeaderNames
Additional context
It’s missing currently
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Add header `Request-Context` to class Microsoft.Net.Http. ...
It's used by Application Insights. Describe the solution you'd like. Add header Request-Context to class Microsoft.Net.Http.Headers.HeaderNames ...
Read more >HeaderNames Class (Microsoft.Net.Http.Headers)
Defines constants for well-known HTTP headers. ... public static class HeaderNames ... Gets the Access-Control-Allow-Headers HTTP header name.
Read more >How to set custom headers when using IHttpActionResult?
I need to set an ETag on an outgoing response, and I cannot find any property which gives me access to the response's...
Read more >HTTP headers - MDN Web Docs - Mozilla
An HTTP header consists of its case-insensitive name followed by a colon ( : ), then by its value. Whitespace before the value...
Read more >http package - net/http
SetCookie adds a Set-Cookie header to the provided ResponseWriter's headers. The provided cookie must have a valid Name. Invalid cookies may be silently...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Triage: Agreed with the above. We like the idea of an extension method for HeaderNames, but it wouldn’t work today on a static class. We could consider an extension point like
Microsoft.AspNetCore.HttpResults.Extensions
, but I doubt we’d do it.Ah sorry @MihaZupan
@kevinharing you could ask AppInsights if they wanted to add an extension method to Microsoft.Net.Http.Headers.HeaderNames, that way if you were importing AppInsights you’d get it.