Table of Contents

Class HttpKnownHeaderNames

Namespace
System.Net
Assembly
System.Net.Http.dll

Contains known HTTP header names.

public class HttpKnownHeaderNames
Inheritance
HttpKnownHeaderNames
Inherited Members
Extension Methods

Constructors

HttpKnownHeaderNames()

public HttpKnownHeaderNames()

Fields

Accept

The Accept HTTP header.

public const string Accept = "Accept"

Field Value

string

AcceptCharset

The Accept-Charset HTTP header.

public const string AcceptCharset = "Accept-Charset"

Field Value

string

AcceptEncoding

The Accept-Encoding HTTP header.

public const string AcceptEncoding = "Accept-Encoding"

Field Value

string

AcceptLanguage

The Accept-Language HTTP header.

public const string AcceptLanguage = "Accept-Language"

Field Value

string

AcceptRanges

The Accept-Ranges HTTP header.

public const string AcceptRanges = "Accept-Ranges"

Field Value

string

Age

The Age HTTP header.

public const string Age = "Age"

Field Value

string

Allow

The Allow HTTP header.

public const string Allow = "Allow"

Field Value

string

Authorization

The Authorization HTTP header.

public const string Authorization = "Authorization"

Field Value

string

CacheControl

The Cache-Control HTTP header.

public const string CacheControl = "Cache-Control"

Field Value

string

Connection

The Connection HTTP header.

public const string Connection = "Connection"

Field Value

string

ContentEncoding

The Content-Encoding HTTP header.

public const string ContentEncoding = "Content-Encoding"

Field Value

string

ContentID

The Content-ID HTTP header.

public const string ContentID = "Content-ID"

Field Value

string

ContentLanguage

The Content-Language HTTP header.

public const string ContentLanguage = "Content-Language"

Field Value

string

ContentLength

The Content-Length HTTP header.

public const string ContentLength = "Content-Length"

Field Value

string

ContentLocation

The Content-Location HTTP header.

public const string ContentLocation = "Content-Location"

Field Value

string

ContentMD5

The Content-MD5 HTTP header.

public const string ContentMD5 = "Content-MD5"

Field Value

string

ContentRange

The Content-Range HTTP header.

public const string ContentRange = "Content-Range"

Field Value

string

ContentTransferEncoding

The Content-Transfer-Encoding HTTP header.

public const string ContentTransferEncoding = "Content-Transfer-Encoding"

Field Value

string

ContentType

The Content-Type HTTP header.

public const string ContentType = "Content-Type"

Field Value

string

The Cookie HTTP header.

public const string Cookie = "Cookie"

Field Value

string

Cookie2

The Cookie2 HTTP header.

public const string Cookie2 = "Cookie2"

Field Value

string

Date

The Date HTTP header.

public const string Date = "Date"

Field Value

string

ETag

The ETag HTTP header.

public const string ETag = "ETag"

Field Value

string

Expect

The Expect HTTP header.

public const string Expect = "Expect"

Field Value

string

Expires

The Expires HTTP header.

public const string Expires = "Expires"

Field Value

string

From

The From HTTP header.

public const string From = "From"

Field Value

string

Host

The Host HTTP header.

public const string Host = "Host"

Field Value

string

IfMatch

The If-Match HTTP header.

public const string IfMatch = "If-Match"

Field Value

string

IfModifiedSince

The If-Modified-Since HTTP header.

public const string IfModifiedSince = "If-Modified-Since"

Field Value

string

IfNoneMatch

The If-None-Match HTTP header.

public const string IfNoneMatch = "If-None-Match"

Field Value

string

IfRange

The If-Range HTTP header.

public const string IfRange = "If-Range"

Field Value

string

IfUnmodifiedSince

The If-Unmodified-Since HTTP header.

public const string IfUnmodifiedSince = "If-Unmodified-Since"

Field Value

string

KeepAlive

The Keep-Alive HTTP header.

public const string KeepAlive = "Keep-Alive"

Field Value

string

LastModified

The Last-Modified HTTP header.

public const string LastModified = "Last-Modified"

Field Value

string

Location

The Location HTTP header.

public const string Location = "Location"

Field Value

string

MaxForwards

The Max-Forwards HTTP header.

public const string MaxForwards = "Max-Forwards"

Field Value

string

MimeVersion

The MIME-Version HTTP header.

public const string MimeVersion = "MIME-Version"

Field Value

string

Pragma

The Pragma HTTP header.

public const string Pragma = "Pragma"

Field Value

string

ProxyAuthenticate

The Proxy-Authenticate HTTP header.

public const string ProxyAuthenticate = "Proxy-Authenticate"

Field Value

string

ProxyAuthorization

The Proxy-Authorization HTTP header.

public const string ProxyAuthorization = "Proxy-Authorization"

Field Value

string

ProxyConnection

The Proxy-Connection HTTP header.

public const string ProxyConnection = "Proxy-Connection"

Field Value

string

Range

The Range HTTP header.

public const string Range = "Range"

Field Value

string

Referer

The Referer HTTP header.

public const string Referer = "Referer"

Field Value

string

RetryAfter

The Retry-After HTTP header.

public const string RetryAfter = "Retry-After"

Field Value

string

SecWebSocketAccept

The Sec-WebSocket-Accept HTTP header.

public const string SecWebSocketAccept = "Sec-WebSocket-Accept"

Field Value

string

SecWebSocketKey

The Sec-WebSocket-Key HTTP header.

public const string SecWebSocketKey = "Sec-WebSocket-Key"

Field Value

string

SecWebSocketProtocol

The Sec-WebSocket-Protocol HTTP header.

public const string SecWebSocketProtocol = "Sec-WebSocket-Protocol"

Field Value

string

SecWebSocketVersion

The Sec-WebSocket-Version HTTP header.

public const string SecWebSocketVersion = "Sec-WebSocket-Version"

Field Value

string

Server

The Server HTTP header.

public const string Server = "Server"

Field Value

string

SetCookie

The Set-Cookie HTTP header.

public const string SetCookie = "Set-Cookie"

Field Value

string

SetCookie2

The Set-Cookie2 HTTP header.

public const string SetCookie2 = "Set-Cookie2"

Field Value

string

TE

The TE HTTP header.

public const string TE = "TE"

Field Value

string

Trailer

The Trailer HTTP header.

public const string Trailer = "Trailer"

Field Value

string

TransferEncoding

The Transfer-Encoding HTTP header.

public const string TransferEncoding = "Transfer-Encoding"

Field Value

string

Upgrade

The Upgrade HTTP header.

public const string Upgrade = "Upgrade"

Field Value

string

UserAgent

The User-Agent HTTP header.

public const string UserAgent = "User-Agent"

Field Value

string

Vary

The Vary HTTP header.

public const string Vary = "Vary"

Field Value

string

Via

The Via HTTP header.

public const string Via = "Via"

Field Value

string

WWWAuthenticate

The WWW-Authenticate HTTP header.

public const string WWWAuthenticate = "WWW-Authenticate"

Field Value

string

Warning

The Warning HTTP header.

public const string Warning = "Warning"

Field Value

string