Microsoft.Net.Http.Headers Namespace

Contains types that represent well known HTTP headers and common values for those headers, if applicable. These types also contains implementations for parsing, serialization and manipuation of header values.

Classes

CacheControlHeaderValue

Represents the Cache-Control HTTP header.

ContentDispositionHeaderValue

Represents the value of a Content-Disposition header.

ContentDispositionHeaderValueIdentityExtensions

Various extension methods for ContentDispositionHeaderValue for identifying the type of the disposition header

ContentRangeHeaderValue

Represents a Content-Range response HTTP header.

CookieHeaderValue

Represents the HTTP request Cookie header.

EntityTagHeaderValue

Represents an entity-tag (etag) header value.

HeaderNames

Defines constants for well-known HTTP headers.

HeaderQuality

Provides HTTP header quality factors.

HeaderUtilities

Provides utilities to parse and modify HTTP header values.

MediaTypeHeaderValue

Representation of the media type header. See https://tools.ietf.org/html/rfc6838.

MediaTypeHeaderValueComparer

Implementation of IComparer<T> that can compare accept media type header fields based on their quality values (a.k.a q-values).

NameValueHeaderValue

Represents a name/value pair used in various headers as defined in RFC 2616.

RangeConditionHeaderValue

Represents an If-Range header value which can either be a date/time or an entity-tag value.

RangeHeaderValue

Represents a Range header value.

The RangeHeaderValue class provides support for the Range header as defined in RFC 2616.

RangeItemHeaderValue

Represents a byte range in a Range header value.

The RangeItemHeaderValue class provides support for a byte range in a Range as defined in RFC 2616.

SetCookieHeaderValue

Represents the Set-Cookie header.

See http://tools.ietf.org/html/rfc6265 for the Set-Cookie header specification.

StringWithQualityHeaderValue

A string header value with an optional quality.

StringWithQualityHeaderValueComparer

Implementation of IComparer<T> that can compare content negotiation header fields based on their quality values (a.k.a q-values). This applies to values used in accept-charset, accept-encoding, accept-language and related header fields with similar syntax rules. See MediaTypeHeaderValueComparer for a comparer for media type q-values.

Enums

SameSiteMode

Indicates if the client should include a cookie on "same-site" or "cross-site" requests. RFC Draft: https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.1

Remarks

For more information about well known HTTP headers, see HTTP headers.