package values
- Alphabetic
- Public
- Protected
Type Members
- sealed trait Accept extends AnyRef
Accept header value.
- sealed trait AcceptEncoding extends AnyRef
Represents an AcceptEncoding header value.
- sealed trait AcceptLanguage extends AnyRef
The Accept-Language request HTTP header indicates the natural language and locale that the client prefers.
- sealed trait AcceptPatch extends AnyRef
The Accept-Patch response HTTP header advertises which media-type the server is able to understand in a PATCH request.
- sealed trait AcceptRanges extends AnyRef
The Accept-Ranges HTTP response header is a marker used by the server to advertise its support for partial requests from the client for file downloads.
The Accept-Ranges HTTP response header is a marker used by the server to advertise its support for partial requests from the client for file downloads. The value of this field indicates the unit that can be used to define a range. By default the RFC 7233 specification supports only 2 possible values.
- sealed trait AccessControlAllowCredentials extends AnyRef
- sealed trait AccessControlAllowHeaders extends AnyRef
- sealed trait AccessControlAllowMethods extends AnyRef
- sealed trait AccessControlAllowOrigin extends AnyRef
The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.
The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.
For requests without credentials, the literal value "*" can be specified as a wildcard; the value tells browsers to allow requesting code from any origin to access the resource. Attempting to use the wildcard with credentials results in an error.
<origin> Specifies an origin. Only a single origin can be specified. If the server supports clients from multiple origins, it must return the origin for the specific client making the request.
null Specifies the origin "null".
- sealed trait AccessControlExposeHeaders extends AnyRef
The Access-Control-Expose-Headers response header allows a server to indicate which response headers should be made available to scripts running in the browser, in response to a cross-origin request.
- sealed trait AccessControlMaxAge extends AnyRef
The Access-Control-Max-Age response header indicates how long the results of a preflight request (that is the information contained in the Access-Control-Allow-Methods and Access-Control-Allow-Headers headers) can be cached.
The Access-Control-Max-Age response header indicates how long the results of a preflight request (that is the information contained in the Access-Control-Allow-Methods and Access-Control-Allow-Headers headers) can be cached.
Maximum number of seconds the results can be cached, as an unsigned non-negative integer. Firefox caps this at 24 hours (86400 seconds). Chromium (prior to v76) caps at 10 minutes (600 seconds). Chromium (starting in v76) caps at 2 hours (7200 seconds). The default value is 5 seconds.
- sealed trait AccessControlRequestHeaders extends AnyRef
- sealed trait AccessControlRequestMethod extends AnyRef
- sealed trait Age extends AnyRef
Age header value.
- sealed trait Allow extends AnyRef
The Allow header must be sent if the server responds with a 405 Method Not Allowed status code to indicate which request methods can be used.
- sealed trait AuthenticationScheme extends AnyRef
- sealed trait Authorization extends AnyRef
Authorization header value.
- sealed trait CacheControl extends AnyRef
CacheControl header value.
- sealed trait Connection extends AnyRef
Connection header value.
- sealed trait ContentBase extends AnyRef
- sealed trait ContentDisposition extends AnyRef
- sealed trait ContentEncoding extends AnyRef
- sealed trait ContentLanguage extends AnyRef
- sealed trait ContentLength extends AnyRef
ContentLength header value
- sealed trait ContentLocation extends AnyRef
- sealed trait ContentMd5 extends AnyRef
- sealed trait ContentRange extends AnyRef
- sealed trait ContentSecurityPolicy extends AnyRef
- sealed trait ContentTransferEncoding extends AnyRef
- sealed trait ContentType extends Product with Serializable
- sealed trait DNT extends AnyRef
- sealed trait Date extends AnyRef
- sealed trait ETag extends AnyRef
- sealed trait Expect extends AnyRef
The Expect HTTP request header indicates expectations that need to be met by the server to handle the request successfully.
The Expect HTTP request header indicates expectations that need to be met by the server to handle the request successfully. There is only one defined expectation: 100-continue
- sealed trait Expires extends AnyRef
- sealed trait From extends AnyRef
From header value.
- sealed trait Host extends AnyRef
- sealed trait IfMatch extends AnyRef
- sealed trait IfModifiedSince extends AnyRef
- sealed trait IfNoneMatch extends AnyRef
- sealed trait IfRange extends AnyRef
The If-Range HTTP request header makes a range request conditional.
The If-Range HTTP request header makes a range request conditional. Possible values:
- <day-name>, <day> <month> <year> <hour>:<minute>:<second> GMT
- <etag> a string of ASCII characters placed between double quotes (Like "675af34563dc-tr34"). A weak entity tag (one prefixed by W/) must not be used in this header.
- sealed trait IfUnmodifiedSince extends AnyRef
- sealed trait LastModified extends AnyRef
- sealed trait Location extends AnyRef
Location header value.
- sealed trait MaxForwards extends AnyRef
Max-Forwards header value
- sealed trait Origin extends AnyRef
Origin header value.
- sealed trait Pragma extends AnyRef
Pragma header value.
- sealed trait ProxyAuthenticate extends AnyRef
The HTTP Proxy-Authenticate response header defines the authentication method that should be used to gain access to a resource behind a proxy server.
The HTTP Proxy-Authenticate response header defines the authentication method that should be used to gain access to a resource behind a proxy server. It authenticates the request to the proxy server, allowing it to transmit the request further.
- sealed trait ProxyAuthorization extends AnyRef
- sealed trait Range extends AnyRef
- sealed trait Referer extends AnyRef
The Referer HTTP request header contains the absolute or partial address from which a resource has been requested.
The Referer HTTP request header contains the absolute or partial address from which a resource has been requested. The Referer header allows a server to identify referring pages that people are visiting from or where requested resources are being used. This data can be used for analytics, logging, optimized caching, and more.
When you click a link, the Referer contains the address of the page that includes the link. When you make resource requests to another domain, the Referer contains the address of the page that uses the requested resource.
The Referer header can contain an origin, path, and querystring, and may not contain URL fragments (i.e. #section) or username:password information. The request's referrer policy defines the data that can be included. See Referrer-Policy for more information and examples.
- sealed trait RequestCookie extends AnyRef
- sealed trait ResponseCookie extends AnyRef
- sealed trait RetryAfter extends AnyRef
- sealed trait SecWebSocketAccept extends AnyRef
- sealed trait SecWebSocketExtensions extends AnyRef
- sealed trait SecWebSocketKey extends AnyRef
- sealed trait SecWebSocketLocation extends AnyRef
- sealed trait SecWebSocketOrigin extends AnyRef
- sealed trait SecWebSocketProtocol extends AnyRef
- sealed trait SecWebSocketVersion extends AnyRef
- sealed trait Server extends AnyRef
Server header value.
- sealed trait Te extends AnyRef
- sealed trait Trailer extends AnyRef
Trailer header value.
- sealed trait TransferEncoding extends AnyRef
- sealed trait Upgrade extends AnyRef
- sealed trait UpgradeInsecureRequests extends AnyRef
- sealed trait UserAgent extends AnyRef
- sealed trait Vary extends AnyRef
Vary header value.
- sealed trait Via extends AnyRef
- sealed trait WWWAuthenticate extends AnyRef
- sealed trait Warning extends AnyRef
- sealed trait XFrameOptions extends AnyRef
- sealed trait XRequestedWith extends AnyRef
Value Members
- object Accept
- object AcceptEncoding
- object AcceptLanguage
- object AcceptPatch
- object AcceptRanges
- object AccessControlAllowCredentials
- object AccessControlAllowHeaders
The Access-Control-Allow-Headers response header is used in response to a preflight request which includes the Access-Control-Request-Headers to indicate which HTTP headers can be used during the actual request.
- object AccessControlAllowMethods
- object AccessControlAllowOrigin
- object AccessControlExposeHeaders
- object AccessControlMaxAge
- object AccessControlRequestHeaders
The Access-Control-Request-Headers request header is used by browsers when issuing a preflight request to let the server know which HTTP headers the client might send when the actual request is made (such as with setRequestHeader()).
The Access-Control-Request-Headers request header is used by browsers when issuing a preflight request to let the server know which HTTP headers the client might send when the actual request is made (such as with setRequestHeader()). The complementary server-side header of Access-Control-Allow-Headers will answer this browser-side header.
- object AccessControlRequestMethod
- object Age
- object Allow
- object AuthenticationScheme
- object Authorization
- object CacheControl
- object Connection
- object ContentBase
- object ContentDisposition
- object ContentEncoding
- object ContentLanguage
- object ContentLength
- object ContentLocation
- object ContentMd5
- object ContentRange
- object ContentSecurityPolicy
- object ContentTransferEncoding
- object ContentType extends Serializable
- object DNT
- object Date
The Date general HTTP header contains the date and time at which the message originated.
- object ETag
- object Expect
- object Expires
The Expires HTTP header contains the date/time after which the response is considered expired.
The Expires HTTP header contains the date/time after which the response is considered expired.
Invalid expiration dates with value 0 represent a date in the past and mean that the resource is already expired.
Expires: <Date>
Date: <day-name>, <day> <month> <year> <hour>:<minute>:<second> GMT
Example:
Expires: Wed, 21 Oct 2015 07:28:00 GMT
- object From
- object Host
- object IfMatch
- object IfModifiedSince
- object IfNoneMatch
- object IfRange
- object IfUnmodifiedSince
If-Unmodified-Since request header makes the request for the resource conditional: the server will send the requested resource or accept it in the case of a POST or another non-safe method only if the resource has not been modified after the date specified by this HTTP header.
- object LastModified
- object Location
- object MaxForwards
- object Origin
- object Pragma
- object ProxyAuthenticate
- object ProxyAuthorization
The HTTP Proxy-Authorization request header contains the credentials to authenticate a user agent to a proxy server, usually after the server has responded with a 407 Proxy Authentication Required status and the Proxy-Authenticate header.
- object Range
- object Referer
- object RequestCookie
The Cookie HTTP request header contains stored HTTP cookies associated with the server.
- object ResponseCookie
- object RetryAfter
The RetryAfter HTTP header contains the date/time after which to retry
The RetryAfter HTTP header contains the date/time after which to retry
Invalid RetryAfter with value 0
RetryAfter: <Date>
Date: <day-name>, <day> <month> <year> <hour>:<minute>:<second> GMT
Example:
Expires: Wed, 21 Oct 2015 07:28:00 GMT
Or RetryAfter the delay seconds.
- object SecWebSocketAccept
The Sec-WebSocket-Accept header is used in the websocket opening handshake.
The Sec-WebSocket-Accept header is used in the websocket opening handshake. It would appear in the response headers. That is, this is header is sent from server to client to inform that server is willing to initiate a websocket connection.
See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-WebSocket-Accept
- object SecWebSocketExtensions
The Sec-WebSocket-Extensions header is used in the WebSocket handshake.
The Sec-WebSocket-Extensions header is used in the WebSocket handshake. It is initially sent from the client to the server, and then subsequently sent from the server to the client, to agree on a set of protocol-level extensions to use during the connection.
See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-WebSocket-Extensions
- object SecWebSocketKey
The Sec-WebSocket-Key header is used in the WebSocket handshake.
The Sec-WebSocket-Key header is used in the WebSocket handshake. It is sent from the client to the server to provide part of the information used by the server to prove that it received a valid WebSocket handshake. This helps ensure that the server does not accept connections from non-WebSocket clients (e.g. HTTP clients) that are being abused to send data to unsuspecting WebSocket servers.
See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-WebSocket-Key
- object SecWebSocketLocation
- object SecWebSocketOrigin
The Sec-WebSocket-Origin header is used to protect against unauthorized cross-origin use of a WebSocket server by scripts using the |WebSocket| API in a Web browser.
The Sec-WebSocket-Origin header is used to protect against unauthorized cross-origin use of a WebSocket server by scripts using the |WebSocket| API in a Web browser. The server is informed of the script origin generating the WebSocket connection request.
- object SecWebSocketProtocol
The Sec-WebSocket-Protocol header field is used in the WebSocket opening handshake.
The Sec-WebSocket-Protocol header field is used in the WebSocket opening handshake. It is sent from the client to the server and back from the server to the client to confirm the subprotocol of the connection. This enables scripts to both select a subprotocol and be sure that the server agreed to serve that subprotocol.
See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-WebSocket-Protocol
- object SecWebSocketVersion
The Sec-WebSocket-Version header field is used in the WebSocket opening handshake.
The Sec-WebSocket-Version header field is used in the WebSocket opening handshake. It is sent from the client to the server to indicate the protocol version of the connection.
See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-WebSocket-Version
- object Server
- object Te
- object Trailer
- object TransferEncoding
- object Upgrade
- object UpgradeInsecureRequests
The HTTP Upgrade-Insecure-Requests request header sends a signal to the server expressing the client's preference for an encrypted and authenticated response.
- object UserAgent
The "User-Agent" header field contains information about the user agent originating the request, which is often used by servers to help identify the scope of reported interoperability problems, to work around or tailor responses to avoid particular user agent limitations, and for analytics regarding browser or operating system use
- object Vary
- object Via
The Via general header is added by proxies, both forward and reverse, and can appear in the request or response headers.
The Via general header is added by proxies, both forward and reverse, and can appear in the request or response headers. It is used for tracking message forwards, avoiding request loops, and identifying the protocol capabilities of senders along the request/response chain
- object WWWAuthenticate
- object Warning
- object XFrameOptions
- object XRequestedWith