HeaderNames Class

Definition

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

Accept

Gets the Accept HTTP header name.

AcceptCharset

Gets the Accept-Charset HTTP header name.

AcceptEncoding

Gets the Accept-Encoding HTTP header name.

AcceptLanguage

Gets the Accept-Language HTTP header name.

AcceptRanges

Gets the Accept-Ranges HTTP header name.

AccessControlAllowCredentials

Gets the Access-Control-Allow-Credentials HTTP header name.

AccessControlAllowHeaders

Gets the Access-Control-Allow-Headers HTTP header name.

AccessControlAllowMethods

Gets the Access-Control-Allow-Methods HTTP header name.

AccessControlAllowOrigin

Gets the Access-Control-Allow-Origin HTTP header name.

AccessControlExposeHeaders

Gets the Access-Control-Expose-Headers HTTP header name.

AccessControlMaxAge

Gets the Access-Control-Max-Age HTTP header name.

AccessControlRequestHeaders

Gets the Access-Control-Request-Headers HTTP header name.

AccessControlRequestMethod

Gets the Access-Control-Request-Method HTTP header name.

Age

Gets the Age HTTP header name.

Allow

Gets the Allow HTTP header name.

AltSvc

Gets the Alt-Svc HTTP header name.

Authority
Obsolete.

Gets the :authority HTTP header name.

Authorization

Gets the Authorization HTTP header name.

Baggage

Gets the baggage HTTP header name.

CacheControl

Gets the Cache-Control HTTP header name.

Connection

Gets the Connection HTTP header name.

ContentDisposition

Gets the Content-Disposition HTTP header name.

ContentEncoding

Gets the Content-Encoding HTTP header name.

ContentLanguage

Gets the Content-Language HTTP header name.

ContentLength

Gets the Content-Length HTTP header name.

ContentLocation

Gets the Content-Location HTTP header name.

ContentMD5

Gets the Content-MD5 HTTP header name.

ContentRange

Gets the Content-Range HTTP header name.

ContentSecurityPolicy

Gets the Content-Security-Policy HTTP header name.

ContentSecurityPolicyReportOnly

Gets the Content-Security-Policy-Report-Only HTTP header name.

ContentType

Gets the Content-Type HTTP header name.

Cookie

Gets the Cookie HTTP header name.

CorrelationContext

Gets the Correlation-Context HTTP header name.

Date

Gets the Date HTTP header name.

DNT

Gets the DNT HTTP header name.

ETag

Gets the ETag HTTP header name.

Expect

Gets the Expect HTTP header name.

Expires

Gets the Expires HTTP header name.

From

Gets the From HTTP header name.

GrpcAcceptEncoding

Gets the Grpc-Accept-Encoding HTTP header name.

GrpcEncoding

Gets the Grpc-Encoding HTTP header name.

GrpcMessage

Gets the Grpc-Message HTTP header name.

GrpcStatus

Gets the Grpc-Status HTTP header name.

GrpcTimeout

Gets the Grpc-Timeout HTTP header name.

Host

Gets the Host HTTP header name.

IfMatch

Gets the If-Match HTTP header name.

IfModifiedSince

Gets the If-Modified-Since HTTP header name.

IfNoneMatch

Gets the If-None-Match HTTP header name.

IfRange

Gets the If-Range HTTP header name.

IfUnmodifiedSince

Gets the If-Unmodified-Since HTTP header name.

KeepAlive

Gets the Keep-Alive HTTP header name.

LastModified

Gets the Last-Modified HTTP header name.

Link

Gets the Link HTTP header name.

Location

Gets the Location HTTP header name.

MaxForwards

Gets the Max-Forwards HTTP header name.

Method
Obsolete.

Gets the :method HTTP header name.

Origin

Gets the Origin HTTP header name.

Path
Obsolete.

Gets the :path HTTP header name.

Pragma

Gets the Pragma HTTP header name.

ProxyAuthenticate

Gets the Proxy-Authenticate HTTP header name.

ProxyAuthorization

Gets the Proxy-Authorization HTTP header name.

ProxyConnection

Gets the Proxy-Connection HTTP header name.

Range

Gets the Range HTTP header name.

Referer

Gets the Referer HTTP header name.

RequestId

Gets the Request-Id HTTP header name.

RetryAfter

Gets the Retry-After HTTP header name.

Scheme
Obsolete.

Gets the :scheme HTTP header name.

SecWebSocketAccept

Gets the Sec-WebSocket-Accept HTTP header name.

SecWebSocketExtensions

Gets the Sec-WebSocket-Extensions HTTP header name.

SecWebSocketKey

Gets the Sec-WebSocket-Key HTTP header name.

SecWebSocketProtocol

Gets the Sec-WebSocket-Protocol HTTP header name.

SecWebSocketVersion

Gets the Sec-WebSocket-Version HTTP header name.

Server

Gets the Server HTTP header name.

SetCookie

Gets the Set-Cookie HTTP header name.

Status
Obsolete.

Gets the :status HTTP header name.

StrictTransportSecurity

Gets the Strict-Transport-Security HTTP header name.

TE

Gets the TE HTTP header name.

TraceParent

Gets the traceparent HTTP header name.

TraceState

Gets the tracestate HTTP header name.

Trailer

Gets the Trailer HTTP header name.

TransferEncoding

Gets the Transfer-Encoding HTTP header name.

Translate

Gets the Translate HTTP header name.

Upgrade

Gets the Upgrade HTTP header name.

UpgradeInsecureRequests

Gets the Upgrade-Insecure-Requests HTTP header name.

UserAgent

Gets the User-Agent HTTP header name.

Vary

Gets the Vary HTTP header name.

Via

Gets the Via HTTP header name.

Warning

Gets the Warning HTTP header name.

WebSocketSubProtocols

Gets the Sec-WebSocket-Protocol HTTP header name.

WWWAuthenticate

Gets the WWW-Authenticate HTTP header name.

XContentTypeOptions

Gets the X-Content-Type-Options HTTP header name.

XFrameOptions

Gets the X-Frame-Options HTTP header name.

XPoweredBy

Gets the X-Powered-By HTTP header name.

XRequestedWith

Gets the X-Requested-With HTTP header name.

XUACompatible

Gets the X-UA-Compatible HTTP header name.

XXSSProtection

Gets the X-XSS-Protection HTTP header name.

Applies to