Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
HeaderNames Class
Definition
- Namespace:
- Microsoft.Net.Http.Headers
- Assembly:
- Microsoft.Net.Http.Headers.dll
- Package:
- Microsoft.Net.Http.Headers v1.0.0
- Package:
- Microsoft.Net.Http.Headers v1.1.0
- Package:
- Microsoft.Net.Http.Headers v10.0.0
- Package:
- Microsoft.Net.Http.Headers v11.0.0-preview.4.26230.115
- Package:
- Microsoft.Net.Http.Headers v2.0.0
- Package:
- Microsoft.Net.Http.Headers v2.1.0
- Package:
- Microsoft.Net.Http.Headers v2.2.0
- Package:
- Microsoft.AspNetCore.App.Ref v3.0.1
- Package:
- Microsoft.AspNetCore.App.Ref v3.1.10
- Package:
- Microsoft.AspNetCore.App.Ref v5.0.0
- Package:
- Microsoft.AspNetCore.App.Ref v6.0.36
- Package:
- Microsoft.AspNetCore.App.Ref v7.0.5
- Package:
- Microsoft.AspNetCore.App.Ref v8.0.19
- Package:
- Microsoft.AspNetCore.App.Ref v9.0.8
- Source:
- HeaderNames.cs
- Source:
- HeaderNames.cs
- Source:
- HeaderNames.cs
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines constants for well-known HTTP headers.
public ref class HeaderNames abstract sealed
public static class HeaderNames
type HeaderNames = class
Public Class HeaderNames
- Inheritance
-
HeaderNames
Fields
| Name | Description |
|---|---|
| Accept |
Gets the |
| AcceptCharset |
Gets the |
| AcceptEncoding |
Gets the |
| AcceptLanguage |
Gets the |
| AcceptRanges |
Gets the |
| AccessControlAllowCredentials |
Gets the |
| AccessControlAllowHeaders |
Gets the |
| AccessControlAllowMethods |
Gets the |
| AccessControlAllowOrigin |
Gets the |
| AccessControlExposeHeaders |
Gets the |
| AccessControlMaxAge |
Gets the |
| AccessControlRequestHeaders |
Gets the |
| AccessControlRequestMethod |
Gets the |
| Age |
Gets the |
| Allow |
Gets the |
| AltSvc |
Gets the |
| Authority |
Obsolete.
Gets the |
| Authorization |
Gets the |
| Baggage |
Gets the |
| CacheControl |
Gets the |
| Connection |
Gets the |
| ContentDisposition |
Gets the |
| ContentEncoding |
Gets the |
| ContentLanguage |
Gets the |
| ContentLength |
Gets the |
| ContentLocation |
Gets the |
| ContentMD5 |
Gets the |
| ContentRange |
Gets the |
| ContentSecurityPolicy |
Gets the |
| ContentSecurityPolicyReportOnly |
Gets the |
| ContentType |
Gets the |
| Cookie |
Gets the |
| CorrelationContext |
Gets the |
| Date |
Gets the |
| DNT |
Gets the |
| ETag |
Gets the |
| Expect |
Gets the |
| Expires |
Gets the |
| From |
Gets the |
| GrpcAcceptEncoding |
Gets the |
| GrpcEncoding |
Gets the |
| GrpcMessage |
Gets the |
| GrpcStatus |
Gets the |
| GrpcTimeout |
Gets the |
| Host |
Gets the |
| IfMatch |
Gets the |
| IfModifiedSince |
Gets the |
| IfNoneMatch |
Gets the |
| IfRange |
Gets the |
| IfUnmodifiedSince |
Gets the |
| KeepAlive |
Gets the |
| LastModified |
Gets the |
| Link |
Gets the |
| Location |
Gets the |
| MaxForwards |
Gets the |
| Method |
Obsolete.
Gets the |
| Origin |
Gets the |
| Path |
Obsolete.
Gets the |
| Pragma |
Gets the |
| ProxyAuthenticate |
Gets the |
| ProxyAuthorization |
Gets the |
| ProxyConnection |
Gets the |
| Range |
Gets the |
| Referer |
Gets the |
| RequestId |
Gets the |
| RetryAfter |
Gets the |
| Scheme |
Obsolete.
Gets the |
| SecWebSocketAccept |
Gets the |
| SecWebSocketExtensions |
Gets the |
| SecWebSocketKey |
Gets the |
| SecWebSocketProtocol |
Gets the |
| SecWebSocketVersion |
Gets the |
| Server |
Gets the |
| SetCookie |
Gets the |
| Status |
Obsolete.
Gets the |
| StrictTransportSecurity |
Gets the |
| TE |
Gets the |
| TraceParent |
Gets the |
| TraceState |
Gets the |
| Trailer |
Gets the |
| TransferEncoding |
Gets the |
| Translate |
Gets the |
| Upgrade |
Gets the |
| UpgradeInsecureRequests |
Gets the |
| UserAgent |
Gets the |
| Vary |
Gets the |
| Via |
Gets the |
| Warning |
Gets the |
| WebSocketSubProtocols |
Gets the |
| WWWAuthenticate |
Gets the |
| XContentTypeOptions |
Gets the |
| XFrameOptions |
Gets the |
| XPoweredBy |
Gets the |
| XRequestedWith |
Gets the |
| XUACompatible |
Gets the |
| XXSSProtection |
Gets the |
Applies to
Feedback
Was this page helpful?
