MY TESTED ASP.NET CORE MVC DOCS
  • Tutorial
  • Testing Guide
  • API Reference
  • Troubleshoot
  • About
  • API Reference
  • MyTested.AspNetCore.Mvc
  • HttpHeader
Show / Hide Table of Contents
  • Common Classes & Extensions
    • ActionAttributesTestBuilderViewFeaturesExtensions
    • AuthenticationScheme
    • BadRequestTestBuilderDataAnnotationsExtensions
    • BadRequestTestBuilderExtensions
    • BaseShouldReturnTestBuilderExtensions
    • BaseTestBuilderWithResponseModelExtensions
    • ComponentBuilderAuthenticationExtensions
    • ComponentBuilderCachingExtensions
    • ComponentBuilderDependencyInjectionExtensions
    • ComponentBuilderEntityFrameworkCoreExtensions
    • ComponentBuilderHttpExtensions
    • ComponentBuilderOptionsExtensions
    • ComponentBuilderRoutingExtensions
    • ComponentBuilderSessionExtensions
    • ComponentBuilderTempDataExtensions
    • ComponentShouldHaveTestBuilderCachingExtensions
    • ComponentShouldHaveTestBuilderEntityFrameworkCoreExtensions
    • ComponentShouldHaveTestBuilderHttpExtensions
    • ComponentShouldHaveTestBuilderModelStateExtensions
    • ComponentShouldHaveTestBuilderSessionExtensions
    • ComponentShouldHaveTestBuilderTempDataExtensions
    • ComponentShouldHaveTestBuilderViewBagExtensions
    • ComponentShouldHaveTestBuilderViewDataExtensions
    • ContentType
    • ControllerBuilderDataAnnotationsExtensions
    • CreatedTestBuilderExtensions
    • From
    • HttpHeader
    • HttpMethod
    • HttpRequestBuilderAuthenticationExtensions
    • HttpRequestBuilderViewFeaturesExtensions
    • HttpScheme
    • HttpStatusCode
    • LocalRedirectTestBuilderExtensions
    • ModelErrorDetailsTestBuilderViewFeaturesExtensions
    • ModelErrorTestBuilderViewFeaturesExtensions
    • MyApplication
    • MyController<TController>
    • MyMvc
    • MyRouting
    • MyViewComponent<TViewComponent>
    • RedirectTestBuilderExtensions
    • ResolvedRouteTestBuilderDataAnnotationsExtensions
    • ServiceCollectionAbstractionsExtensions
    • ServiceCollectionCachingExtensions
    • ServiceCollectionControllersExtensions
    • ServiceCollectionCoreExtensions
    • ServiceCollectionEntityFrameworkCoreExtensions
    • ServiceCollectionExtensions
    • ServiceCollectionHttpExtensions
    • ServiceCollectionOptionsExtensions
    • ServiceCollectionRoutingExtensions
    • ServiceCollectionSessionExtensions
    • ServiceCollectionTempDataExtensions
    • ServiceCollectionUniverseExtensions
    • ServiceCollectionViewComponentsExtensions
    • ServiceCollectionViewFeaturesExtensions
    • ShouldReturnTestBuilderExtensions
    • ShouldReturnTestBuilderJsonResultExtensions
    • ShouldReturnTestBuilderPartialViewResultExtensions
    • ShouldReturnTestBuilderViewComponentResultExtensions
    • ShouldReturnTestBuilderViewResultExtensions
    • ViewComponentShouldReturnTestBuilderExtensions
    • With
  • ActionResults.BadRequest
    • IBadRequestErrorMessageTestBuilder
    • IBadRequestTestBuilder
  • ActionResults.Challenge
    • IChallengeTestBuilder
  • ActionResults.Content
    • IContentTestBuilder
  • ActionResults.Created
    • ICreatedTestBuilder
  • ActionResults.File
    • IFileTestBuilder
    • IPhysicalFileTestBuilder
  • ActionResults.Forbid
    • IForbidTestBuilder
  • ActionResults.Json
    • IJsonSerializerSettingsTestBuilder
    • IJsonTestBuilder
  • ActionResults.LocalRedirect
    • ILocalRedirectTestBuilder
  • ActionResults.NotFound
    • INotFoundTestBuilder
  • ActionResults.Object
    • IObjectTestBuilder
  • ActionResults.Ok
    • IOkTestBuilder
  • ActionResults.Redirect
    • IRedirectTestBuilder
  • ActionResults.StatusCode
    • IStatusCodeTestBuilder
  • ActionResults.View
    • IViewComponentTestBuilder
    • IViewTestBuilder
  • Actions
    • IActionResultTestBuilder<TActionResult>
    • IShouldHaveTestBuilder<TActionResult>
    • IShouldReturnTestBuilder<TActionResult>
    • IVoidActionResultTestBuilder
  • Application
    • IApplicationConfigurationBuilder
  • Attributes
    • IActionAttributesTestBuilder
    • IBaseAttributesTestBuilder<TAttributesTestBuilder>
    • IControllerActionAttributesTestBuilder<TAttributesTestBuilder>
    • IControllerAttributesTestBuilder
    • IViewComponentAttributesTestBuilder
  • Authentication
    • IAuthenticationPropertiesTestBuilder
    • IClaimsIdentityBuilder
    • IClaimsPrincipalBuilder
  • Base
    • IBaseTestBuilder
    • IBaseTestBuilderWithAction
    • IBaseTestBuilderWithActionResult<TActionResult>
    • IBaseTestBuilderWithComponent
    • IBaseTestBuilderWithComponentBuilder<TBuilder>
    • IBaseTestBuilderWithComponentShouldHaveTestBuilder<TBuilder>
    • IBaseTestBuilderWithController
    • IBaseTestBuilderWithInvokedAction
    • IBaseTestBuilderWithModel<TModel>
    • IBaseTestBuilderWithModelError
    • IBaseTestBuilderWithResponseModel
    • IBaseTestBuilderWithViewComponent
    • IBaseTestBuilderWithViewComponentInvocation
    • IBaseTestBuilderWithViewComponentResult<TInvocationResult>
  • CaughtExceptions
    • IAggregateExceptionTestBuilder
    • IBaseExceptionTestBuilder
    • IExceptionMessageTestBuilder
    • IExceptionTestBuilder
    • IShouldThrowTestBuilder
  • Controllers
    • IControllerBuilder<TController>
    • IControllerTestBuilder
  • Data
    • IDataProviderEntryDetailsTestBuilder<TValue>
    • IDataProviderEntryKeyTestBuilder
    • IDataProviderEntryTestBuilder
    • IDbContextBuilder
    • IDbContextTestBuilder
    • IMemoryCacheBuilder
    • IMemoryCacheEntryBuilder
    • IMemoryCacheEntryDetailsTestBuilder<TValue>
    • IMemoryCacheEntryKeyBuilder
    • IMemoryCacheEntryKeyTestBuilder
    • IMemoryCacheEntryTestBuilder
    • IMemoryCacheTestBuilder
    • ISessionBuilder
    • ISessionTestBuilder
    • ITempDataBuilder
    • ITempDataTestBuilder
    • IViewBagTestBuilder
    • IViewDataTestBuilder
  • Http
    • IHttpRequestBuilder
    • IHttpResponseTestBuilder
    • IResponseCookieTestBuilder
  • Invocations
    • IBaseShouldReturnTestBuilder
    • IBaseShouldReturnTestBuilder<TInvocationResult, TBuilder>
    • IBaseShouldReturnTestBuilder<TInvocationResult>
    • IViewComponentResultTestBuilder<TInvocationResult>
    • IViewComponentShouldHaveTestBuilder<TInvocationResult>
    • IViewComponentShouldReturnTestBuilder<TInvocationResult>
  • Models
    • IModelDetailsTestBuilder<TModel>
    • IModelErrorDetailsTestBuilder
    • IModelErrorDetailsTestBuilder<TModel>
    • IModelErrorTestBuilder
    • IModelErrorTestBuilder<TModel>
    • IModelStateTestBuilder
  • Options
    • IOptionsBuilder
  • Routing
    • IResolvedRouteTestBuilder
    • IRouteTestBuilder
    • IShouldMapTestBuilder
  • Services
    • IServicesBuilder
  • Uri
    • IUriBuilder
    • IUriTestBuilder
  • ViewComponentResults
    • IViewTestBuilder
  • ViewComponents
    • IViewComponentBuilder<TViewComponent>
    • IViewComponentTestBuilder

Class HttpHeader

Contains common HTTP header names.

Inheritance
System.Object
HttpHeader
Namespace:MyTested.AspNetCore.Mvc
Assembly:MyTested.AspNetCore.Mvc.Abstractions.dll
Syntax
public static class HttpHeader

Fields

| Improve this Doc View Source

Accept

"Accept" header name.

Declaration
public const string Accept = "Accept"
Field Value
Type Description
System.String
| Improve this Doc View Source

AcceptCharset

"Accept-Charset" header name.

Declaration
public const string AcceptCharset = "Accept-Charset"
Field Value
Type Description
System.String
| Improve this Doc View Source

AcceptEncoding

"Accept-Encoding" header name.

Declaration
public const string AcceptEncoding = "Accept-Encoding"
Field Value
Type Description
System.String
| Improve this Doc View Source

AcceptLanguage

"Accept-Language" header name.

Declaration
public const string AcceptLanguage = "Accept-Language"
Field Value
Type Description
System.String
| Improve this Doc View Source

AcceptRanges

"Accept-Ranges" header name.

Declaration
public const string AcceptRanges = "Accept-Ranges"
Field Value
Type Description
System.String
| Improve this Doc View Source

Age

"Age" header name.

Declaration
public const string Age = "Age"
Field Value
Type Description
System.String
| Improve this Doc View Source

Allow

"Allow" header name.

Declaration
public const string Allow = "Allow"
Field Value
Type Description
System.String
| Improve this Doc View Source

Authorization

"Authorization" header name.

Declaration
public const string Authorization = "Authorization"
Field Value
Type Description
System.String
| Improve this Doc View Source

CacheControl

"Cache-Control" header name.

Declaration
public const string CacheControl = "Cache-Control"
Field Value
Type Description
System.String
| Improve this Doc View Source

Connection

"Connection" header name.

Declaration
public const string Connection = "Connection"
Field Value
Type Description
System.String
| Improve this Doc View Source

ContentDisposition

"Content-Disposition" header name.

Declaration
public const string ContentDisposition = "Content-Disposition"
Field Value
Type Description
System.String
| Improve this Doc View Source

ContentEncoding

"Content-Encoding" header name.

Declaration
public const string ContentEncoding = "Content-Encoding"
Field Value
Type Description
System.String
| Improve this Doc View Source

ContentLanguage

"Content-Language" header name.

Declaration
public const string ContentLanguage = "Content-Language"
Field Value
Type Description
System.String
| Improve this Doc View Source

ContentLength

"Content-Length" header name.

Declaration
public const string ContentLength = "Content-Length"
Field Value
Type Description
System.String
| Improve this Doc View Source

ContentLocation

"Content-Location" header name.

Declaration
public const string ContentLocation = "Content-Location"
Field Value
Type Description
System.String
| Improve this Doc View Source

ContentMD5

"ContentMD5" header name.

Declaration
public const string ContentMD5 = "ContentMD5"
Field Value
Type Description
System.String
| Improve this Doc View Source

ContentRange

"Content-Range" header name.

Declaration
public const string ContentRange = "Content-Range"
Field Value
Type Description
System.String
| Improve this Doc View Source

ContentType

"Content-Type" header name.

Declaration
public const string ContentType = "Content-Type"
Field Value
Type Description
System.String
| Improve this Doc View Source

Cookie

"Cookie" header name.

Declaration
public const string Cookie = "Cookie"
Field Value
Type Description
System.String
| Improve this Doc View Source

Date

"Date" header name.

Declaration
public const string Date = "Date"
Field Value
Type Description
System.String
| Improve this Doc View Source

ETag

"ETag" header name.

Declaration
public const string ETag = "ETag"
Field Value
Type Description
System.String
| Improve this Doc View Source

Expect

"Expect" header name.

Declaration
public const string Expect = "Expect"
Field Value
Type Description
System.String
| Improve this Doc View Source

Expires

"Expires" header name.

Declaration
public const string Expires = "Expires"
Field Value
Type Description
System.String
| Improve this Doc View Source

From

"From" header name.

Declaration
public const string From = "From"
Field Value
Type Description
System.String
| Improve this Doc View Source

Host

"Host" header name.

Declaration
public const string Host = "Host"
Field Value
Type Description
System.String
| Improve this Doc View Source

IfMatch

"If-Match" header name.

Declaration
public const string IfMatch = "If-Match"
Field Value
Type Description
System.String
| Improve this Doc View Source

IfModifiedSince

"If-Modified-Since" header name.

Declaration
public const string IfModifiedSince = "If-Modified-Since"
Field Value
Type Description
System.String
| Improve this Doc View Source

IfNoneMatch

"If-None-Match" header name.

Declaration
public const string IfNoneMatch = "If-None-Match"
Field Value
Type Description
System.String
| Improve this Doc View Source

IfRange

"If-Range" header name.

Declaration
public const string IfRange = "If-Range"
Field Value
Type Description
System.String
| Improve this Doc View Source

IfUnmodifiedSince

"If-Unmodified-Since" header name.

Declaration
public const string IfUnmodifiedSince = "If-Unmodified-Since"
Field Value
Type Description
System.String
| Improve this Doc View Source

LastModified

"Last-Modified" header name.

Declaration
public const string LastModified = "Last-Modified"
Field Value
Type Description
System.String
| Improve this Doc View Source

Location

"Location" header name.

Declaration
public const string Location = "Location"
Field Value
Type Description
System.String
| Improve this Doc View Source

MaxForwards

"Max-Forwards" header name.

Declaration
public const string MaxForwards = "Max-Forwards"
Field Value
Type Description
System.String
| Improve this Doc View Source

Pragma

"Pragma" header name.

Declaration
public const string Pragma = "Pragma"
Field Value
Type Description
System.String
| Improve this Doc View Source

ProxyAuthenticate

"Proxy-Authenticate" header name.

Declaration
public const string ProxyAuthenticate = "Proxy-Authenticate"
Field Value
Type Description
System.String
| Improve this Doc View Source

ProxyAuthorization

"Proxy-Authorization" header name.

Declaration
public const string ProxyAuthorization = "Proxy-Authorization"
Field Value
Type Description
System.String
| Improve this Doc View Source

Range

"Range" header name.

Declaration
public const string Range = "Range"
Field Value
Type Description
System.String
| Improve this Doc View Source

Referer

"Referer" header name.

Declaration
public const string Referer = "Referer"
Field Value
Type Description
System.String
| Improve this Doc View Source

RetryAfter

"Retry-After" header name.

Declaration
public const string RetryAfter = "Retry-After"
Field Value
Type Description
System.String
| Improve this Doc View Source

Server

"Server" header name.

Declaration
public const string Server = "Server"
Field Value
Type Description
System.String
| Improve this Doc View Source

SetCookie

"Set-Cookie" header name.

Declaration
public const string SetCookie = "Set-Cookie"
Field Value
Type Description
System.String
| Improve this Doc View Source

TE

"TE" header name.

Declaration
public const string TE = "TE"
Field Value
Type Description
System.String
| Improve this Doc View Source

Trailer

"Trailer" header name.

Declaration
public const string Trailer = "Trailer"
Field Value
Type Description
System.String
| Improve this Doc View Source

TransferEncoding

"Transfer-Encoding" header name.

Declaration
public const string TransferEncoding = "Transfer-Encoding"
Field Value
Type Description
System.String
| Improve this Doc View Source

Upgrade

"Upgrade" header name.

Declaration
public const string Upgrade = "Upgrade"
Field Value
Type Description
System.String
| Improve this Doc View Source

UserAgent

"User-Agent" header name.

Declaration
public const string UserAgent = "User-Agent"
Field Value
Type Description
System.String
| Improve this Doc View Source

Vary

"Vary" header name.

Declaration
public const string Vary = "Vary"
Field Value
Type Description
System.String
| Improve this Doc View Source

Via

"Via" header name.

Declaration
public const string Via = "Via"
Field Value
Type Description
System.String
| Improve this Doc View Source

Warning

"Warning" header name.

Declaration
public const string Warning = "Warning"
Field Value
Type Description
System.String
| Improve this Doc View Source

WebSocketSubProtocols

"Sec-WebSocket-Protocol" header name.

Declaration
public const string WebSocketSubProtocols = "Sec-WebSocket-Protocol"
Field Value
Type Description
System.String
| Improve this Doc View Source

WWWAuthenticate

"WWW-Authenticate" header name.

Declaration
public const string WWWAuthenticate = "WWW-Authenticate"
Field Value
Type Description
System.String
  • Improve this Doc
  • View Source
In This Article
  • Fields
    • Accept
    • AcceptCharset
    • AcceptEncoding
    • AcceptLanguage
    • AcceptRanges
    • Age
    • Allow
    • Authorization
    • CacheControl
    • Connection
    • ContentDisposition
    • ContentEncoding
    • ContentLanguage
    • ContentLength
    • ContentLocation
    • ContentMD5
    • ContentRange
    • ContentType
    • Cookie
    • Date
    • ETag
    • Expect
    • Expires
    • From
    • Host
    • IfMatch
    • IfModifiedSince
    • IfNoneMatch
    • IfRange
    • IfUnmodifiedSince
    • LastModified
    • Location
    • MaxForwards
    • Pragma
    • ProxyAuthenticate
    • ProxyAuthorization
    • Range
    • Referer
    • RetryAfter
    • Server
    • SetCookie
    • TE
    • Trailer
    • TransferEncoding
    • Upgrade
    • UserAgent
    • Vary
    • Via
    • Warning
    • WebSocketSubProtocols
    • WWWAuthenticate
Back to top Copyright © 2015-2016 MyTestedASP.NET. All Rights Reserved. Generated by DocFX