Class HttpHeader
Contains common HTTP header names.
Inheritance
Namespace:MyTested.AspNetCore.Mvc
Assembly:MyTested.AspNetCore.Mvc.Abstractions.dll
Syntax
public static class HttpHeader
Fields
| Improve this Doc View SourceAccept
"Accept" header name.
Declaration
public const string Accept = "Accept"
Field Value
Type | Description |
---|---|
System.String |
AcceptCharset
"Accept-Charset" header name.
Declaration
public const string AcceptCharset = "Accept-Charset"
Field Value
Type | Description |
---|---|
System.String |
AcceptEncoding
"Accept-Encoding" header name.
Declaration
public const string AcceptEncoding = "Accept-Encoding"
Field Value
Type | Description |
---|---|
System.String |
AcceptLanguage
"Accept-Language" header name.
Declaration
public const string AcceptLanguage = "Accept-Language"
Field Value
Type | Description |
---|---|
System.String |
AcceptRanges
"Accept-Ranges" header name.
Declaration
public const string AcceptRanges = "Accept-Ranges"
Field Value
Type | Description |
---|---|
System.String |
Age
"Age" header name.
Declaration
public const string Age = "Age"
Field Value
Type | Description |
---|---|
System.String |
Allow
"Allow" header name.
Declaration
public const string Allow = "Allow"
Field Value
Type | Description |
---|---|
System.String |
Authorization
"Authorization" header name.
Declaration
public const string Authorization = "Authorization"
Field Value
Type | Description |
---|---|
System.String |
CacheControl
"Cache-Control" header name.
Declaration
public const string CacheControl = "Cache-Control"
Field Value
Type | Description |
---|---|
System.String |
Connection
"Connection" header name.
Declaration
public const string Connection = "Connection"
Field Value
Type | Description |
---|---|
System.String |
ContentDisposition
"Content-Disposition" header name.
Declaration
public const string ContentDisposition = "Content-Disposition"
Field Value
Type | Description |
---|---|
System.String |
ContentEncoding
"Content-Encoding" header name.
Declaration
public const string ContentEncoding = "Content-Encoding"
Field Value
Type | Description |
---|---|
System.String |
ContentLanguage
"Content-Language" header name.
Declaration
public const string ContentLanguage = "Content-Language"
Field Value
Type | Description |
---|---|
System.String |
ContentLength
"Content-Length" header name.
Declaration
public const string ContentLength = "Content-Length"
Field Value
Type | Description |
---|---|
System.String |
ContentLocation
"Content-Location" header name.
Declaration
public const string ContentLocation = "Content-Location"
Field Value
Type | Description |
---|---|
System.String |
ContentMD5
"ContentMD5" header name.
Declaration
public const string ContentMD5 = "ContentMD5"
Field Value
Type | Description |
---|---|
System.String |
ContentRange
"Content-Range" header name.
Declaration
public const string ContentRange = "Content-Range"
Field Value
Type | Description |
---|---|
System.String |
ContentType
"Content-Type" header name.
Declaration
public const string ContentType = "Content-Type"
Field Value
Type | Description |
---|---|
System.String |
Cookie
"Cookie" header name.
Declaration
public const string Cookie = "Cookie"
Field Value
Type | Description |
---|---|
System.String |
Date
"Date" header name.
Declaration
public const string Date = "Date"
Field Value
Type | Description |
---|---|
System.String |
ETag
"ETag" header name.
Declaration
public const string ETag = "ETag"
Field Value
Type | Description |
---|---|
System.String |
Expect
"Expect" header name.
Declaration
public const string Expect = "Expect"
Field Value
Type | Description |
---|---|
System.String |
Expires
"Expires" header name.
Declaration
public const string Expires = "Expires"
Field Value
Type | Description |
---|---|
System.String |
From
"From" header name.
Declaration
public const string From = "From"
Field Value
Type | Description |
---|---|
System.String |
Host
"Host" header name.
Declaration
public const string Host = "Host"
Field Value
Type | Description |
---|---|
System.String |
IfMatch
"If-Match" header name.
Declaration
public const string IfMatch = "If-Match"
Field Value
Type | Description |
---|---|
System.String |
IfModifiedSince
"If-Modified-Since" header name.
Declaration
public const string IfModifiedSince = "If-Modified-Since"
Field Value
Type | Description |
---|---|
System.String |
IfNoneMatch
"If-None-Match" header name.
Declaration
public const string IfNoneMatch = "If-None-Match"
Field Value
Type | Description |
---|---|
System.String |
IfRange
"If-Range" header name.
Declaration
public const string IfRange = "If-Range"
Field Value
Type | Description |
---|---|
System.String |
IfUnmodifiedSince
"If-Unmodified-Since" header name.
Declaration
public const string IfUnmodifiedSince = "If-Unmodified-Since"
Field Value
Type | Description |
---|---|
System.String |
LastModified
"Last-Modified" header name.
Declaration
public const string LastModified = "Last-Modified"
Field Value
Type | Description |
---|---|
System.String |
Location
"Location" header name.
Declaration
public const string Location = "Location"
Field Value
Type | Description |
---|---|
System.String |
MaxForwards
"Max-Forwards" header name.
Declaration
public const string MaxForwards = "Max-Forwards"
Field Value
Type | Description |
---|---|
System.String |
Pragma
"Pragma" header name.
Declaration
public const string Pragma = "Pragma"
Field Value
Type | Description |
---|---|
System.String |
ProxyAuthenticate
"Proxy-Authenticate" header name.
Declaration
public const string ProxyAuthenticate = "Proxy-Authenticate"
Field Value
Type | Description |
---|---|
System.String |
ProxyAuthorization
"Proxy-Authorization" header name.
Declaration
public const string ProxyAuthorization = "Proxy-Authorization"
Field Value
Type | Description |
---|---|
System.String |
Range
"Range" header name.
Declaration
public const string Range = "Range"
Field Value
Type | Description |
---|---|
System.String |
Referer
"Referer" header name.
Declaration
public const string Referer = "Referer"
Field Value
Type | Description |
---|---|
System.String |
RetryAfter
"Retry-After" header name.
Declaration
public const string RetryAfter = "Retry-After"
Field Value
Type | Description |
---|---|
System.String |
Server
"Server" header name.
Declaration
public const string Server = "Server"
Field Value
Type | Description |
---|---|
System.String |
SetCookie
"Set-Cookie" header name.
Declaration
public const string SetCookie = "Set-Cookie"
Field Value
Type | Description |
---|---|
System.String |
TE
"TE" header name.
Declaration
public const string TE = "TE"
Field Value
Type | Description |
---|---|
System.String |
Trailer
"Trailer" header name.
Declaration
public const string Trailer = "Trailer"
Field Value
Type | Description |
---|---|
System.String |
TransferEncoding
"Transfer-Encoding" header name.
Declaration
public const string TransferEncoding = "Transfer-Encoding"
Field Value
Type | Description |
---|---|
System.String |
Upgrade
"Upgrade" header name.
Declaration
public const string Upgrade = "Upgrade"
Field Value
Type | Description |
---|---|
System.String |
UserAgent
"User-Agent" header name.
Declaration
public const string UserAgent = "User-Agent"
Field Value
Type | Description |
---|---|
System.String |
Vary
"Vary" header name.
Declaration
public const string Vary = "Vary"
Field Value
Type | Description |
---|---|
System.String |
Via
"Via" header name.
Declaration
public const string Via = "Via"
Field Value
Type | Description |
---|---|
System.String |
Warning
"Warning" header name.
Declaration
public const string Warning = "Warning"
Field Value
Type | Description |
---|---|
System.String |
WebSocketSubProtocols
"Sec-WebSocket-Protocol" header name.
Declaration
public const string WebSocketSubProtocols = "Sec-WebSocket-Protocol"
Field Value
Type | Description |
---|---|
System.String |
WWWAuthenticate
"WWW-Authenticate" header name.
Declaration
public const string WWWAuthenticate = "WWW-Authenticate"
Field Value
Type | Description |
---|---|
System.String |