Header menu logo FSharp.Data

HttpResponseHeaders Module

Headers that can be received in an HTTP response

Functions and values

Function or value Description

AcceptRanges

Full Usage: AcceptRanges

Returns: string

What partial content range types this server supports

Returns: string

AccessControlAllowOrigin

Full Usage: AccessControlAllowOrigin

Returns: string

Specifying which web sites can participate in cross-origin resource sharing

Returns: string

Age

Full Usage: Age

Returns: string

The age the object has been in a proxy cache in seconds

Returns: string

Allow

Full Usage: Allow

Returns: string

Valid actions for a specified resource. To be used for a 405 Method not allowed

Returns: string

CacheControl

Full Usage: CacheControl

Returns: string

Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds

Returns: string

Connection

Full Usage: Connection

Returns: string

Options that are desired for the connection

Returns: string

ContentDisposition

Full Usage: ContentDisposition

Returns: string

An opportunity to raise a "File Download" dialogue box for a known MIME type with binary format or suggest a filename for dynamic content. Quotes are necessary with special characters.

Returns: string

ContentEncoding

Full Usage: ContentEncoding

Returns: string

The type of encoding used on the data. See HTTP compression.

Returns: string

ContentLanguage

Full Usage: ContentLanguage

Returns: string

The language the content is in

Returns: string

ContentLength

Full Usage: ContentLength

Returns: string

The length of the response body in octets (8-bit bytes)

Returns: string

ContentLocation

Full Usage: ContentLocation

Returns: string

An alternate location for the returned data

Returns: string

ContentMD5

Full Usage: ContentMD5

Returns: string

A Base64-encoded binary MD5 sum of the content of the response

Returns: string

ContentRange

Full Usage: ContentRange

Returns: string

Where in a full body message this partial message belongs

Returns: string

ContentType

Full Usage: ContentType

Returns: string

The MIME type of this content

Returns: string

Date

Full Usage: Date

Returns: string

The date and time that the message was sent (in "HTTP-date" format as defined by RFC 2616)

Returns: string

ETag

Full Usage: ETag

Returns: string

An identifier for a specific version of a resource, often a message digest

Returns: string

Expires

Full Usage: Expires

Returns: string

Gives the date/time after which the response is considered stale

Returns: string

LastModified

Full Usage: LastModified

Returns: string

The last modified date for the requested object

Returns: string

Link

Full Usage: Link

Returns: string

Used to express a typed relationship with another resource, where the relation type is defined by RFC 5988

Returns: string

Location

Full Usage: Location

Returns: string

Used in redirection, or when a new resource has been created.

Returns: string

P3P

Full Usage: P3P

Returns: string

This header is supposed to set P3P policy

Returns: string

Pragma

Full Usage: Pragma

Returns: string

Implementation-specific headers that may have various effects anywhere along the request-response chain.

Returns: string

ProxyAuthenticate

Full Usage: ProxyAuthenticate

Returns: string

Request authentication to access the proxy.

Returns: string

Refresh

Full Usage: Refresh

Returns: string

Used in redirection, or when a new resource has been created. This refresh redirects after 5 seconds.

Returns: string

RetryAfter

Full Usage: RetryAfter

Returns: string

If an entity is temporarily unavailable, this instructs the client to try again later. Value could be a specified period of time (in seconds) or a HTTP-date.[28]

Returns: string

Server

Full Usage: Server

Returns: string

A name for the server

Returns: string

SetCookie

Full Usage: SetCookie

Returns: string

An HTTP cookie

Returns: string

Status

Full Usage: Status

Returns: string

The HTTP status of the response

Returns: string

StrictTransportSecurity

Full Usage: StrictTransportSecurity

Returns: string

A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains.

Returns: string

Trailer

Full Usage: Trailer

Returns: string

The Trailer general field value indicates that the given set of header fields is present in the trailer of a message encoded with chunked transfer-coding.

Returns: string

TransferEncoding

Full Usage: TransferEncoding

Returns: string

The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity.

Returns: string

Vary

Full Usage: Vary

Returns: string

Tells downstream proxies how to match future request headers to decide whether the cached response can be used rather than requesting a fresh one from the origin server.

Returns: string

Via

Full Usage: Via

Returns: string

Informs the client of proxies through which the response was sent.

Returns: string

WWWAuthenticate

Full Usage: WWWAuthenticate

Returns: string

Indicates the authentication scheme that should be used to access the requested entity.

Returns: string

Warning

Full Usage: Warning

Returns: string

A general warning about possible problems with the entity body.

Returns: string

Type something to start searching.