F# Data


HttpResponseHeaders

Namespace: FSharp.Data

Headers that can be received in an HTTP response

Functions and values

Function or valueDescription
AcceptRanges
Signature: string

What partial content range types this server supports

AccessControlAllowOrigin
Signature: string

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

Age
Signature: string

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

Allow
Signature: string

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

CacheControl
Signature: string

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

Connection
Signature: string

Options that are desired for the connection

ContentDisposition
Signature: 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.

ContentEncoding
Signature: string

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

ContentLanguage
Signature: string

The language the content is in

ContentLength
Signature: string

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

ContentLocation
Signature: string

An alternate location for the returned data

ContentMD5
Signature: string

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

ContentRange
Signature: string

Where in a full body message this partial message belongs

ContentType
Signature: string

The MIME type of this content

Date
Signature: string

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

ETag
Signature: string

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

Expires
Signature: string

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

LastModified
Signature: string

The last modified date for the requested object

Link
Signature: string

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

Location
Signature: string

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

P3P
Signature: string

This header is supposed to set P3P policy

Pragma
Signature: string

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

ProxyAuthenticate
Signature: string

Request authentication to access the proxy.

Refresh
Signature: string

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

RetryAfter
Signature: 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]

Server
Signature: string

A name for the server

SetCookie
Signature: string

An HTTP cookie

Status
Signature: string

The HTTP status of the response

StrictTransportSecurity
Signature: string

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

Trailer
Signature: 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.

TransferEncoding
Signature: string

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

Vary
Signature: 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.

Via
Signature: string

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

Warning
Signature: string

A general warning about possible problems with the entity body.

WWWAuthenticate
Signature: string

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

Fork me on GitHub