org.http4s.headers
Type members
Classlikes
From [https://datatracker.ietf.org/doc/html/rfc7231#section-5.3.3 RFC-7231].
The "Accept-Charset" header field can be sent by a user agent to
indicate what charsets are acceptable in textual response content.
This field allows user agents capable of understanding more
From [https://datatracker.ietf.org/doc/html/rfc7231#section-5.3.3 RFC-7231].
- Companion:
- object
- Source:
- Accept-Charset.scala
Request header used to indicate which natural language would be preferred for the response to be translated into.
Request header used to indicate which natural language would be preferred for the response to be translated into.
- Companion:
- object
- Source:
- Accept-Language.scala
The Access-Control-Allow-Methods
header.
The Access-Control-Allow-Methods
header.
- Companion:
- object
- Source:
- `Access-Control-Allow-Methods`.scala
The Access-Control-Max-Age
header.
The Access-Control-Max-Age
header.
- Companion:
- object
- Source:
- `Access-Control-Max-Age`.scala
A Response header that lists the methods that are supported by the target resource. Must be attached to responses with status 405 Not Allowed, though in practice not all servers honor this.
A Response header that lists the methods that are supported by the target resource. Must be attached to responses with status 405 Not Allowed, though in practice not all servers honor this.
- Companion:
- object
- Source:
- Allow.scala
Constructs a Content-Length
header.
Constructs a Content-Length
header.
The HTTP RFCs do not specify a maximum length. We have decided that Long.MaxValue
bytes ought to be good enough for anybody in order to avoid the irritations of BigInt
.
- Value parameters:
- length
the length
- Companion:
- object
- Source:
- Content-Length.scala
The "Content-Location" header field references a URI that can be used
as an identifier for a specific resource corresponding to the
representation in this message's payload
- Companion:
- object
- Source:
- Content-Location.scala
The "Content-Type" header field indicates the media type of the
associated representation: either the representation enclosed in the
message payload or the selected representation, as determined by the
message semantics.
- Companion:
- object
- Source:
- Content-Type.scala
A Response header that gives the date/time after which the response is considered stale.
A Response header that gives the date/time after which the response is considered stale.
The HTTP RFCs indicate that Expires should be in the range of now to 1 year in the future. However, it is a usual practice to set it to the past of far in the future Thus any instant is in practice allowed
- Value parameters:
- expirationDate
the date of expiration. The RFC has a warning, that using large values can cause problems due to integer or clock overflows.
- Companion:
- object
- Source:
- Expires.scala
A Request header, that provides the host and port information
A Request header, that provides the host and port information
The "Host" header field in a request provides the host and port
information from the target URI, enabling the origin server to
distinguish among resources while servicing requests for multiple
host names on a single IP address.
This header was mandatory in version 1.1 of the Http protocol.
- Companion:
- object
- Source:
- Host.scala
Request header defines request to be idempotent used by client retry middleware.
Request header defines request to be idempotent used by client retry middleware.
- Companion:
- object
- Source:
- `Idempotency-Key`.scala
Request header to make the request conditional on the current contents of the origin server at the given target resource (URI).
Request header to make the request conditional on the current contents of the origin server at the given target resource (URI).
- Companion:
- object
- Source:
- If-Match.scala
{{ The "If-Modified-Since" header field makes a GET or HEAD request method conditional on the selected representation's modification date being more recent than the date provided in the field-value. }}
{{ The "If-Modified-Since" header field makes a GET or HEAD request method conditional on the selected representation's modification date being more recent than the date provided in the field-value. }}
- Companion:
- object
- Source:
- If-Modified-Since.scala
From RFC-7232
The "If-None-Match" header field makes the request method conditional
on a recipient cache or origin server either not having any current
representation of the target resource, when the field-value is "*",
or having a selected representation with an entity-tag that does not
match any of those listed in the field-value.
From RFC-7232
- Companion:
- class
- Source:
- If-None-Match.scala
Response header that indicates the time at which the server believes the entity was last modified.
Response header that indicates the time at which the server believes the entity was last modified.
- Companion:
- object
- Source:
- Last-Modified.scala
Request header, used with the TRACE and OPTION request methods, that gives an upper bound on how many times the request can be forwarded by a proxy before it is rejected.
Request header, used with the TRACE and OPTION request methods, that gives an upper bound on how many times the request can be forwarded by a proxy before it is rejected.
- Companion:
- object
- Source:
- Max-Forwards.scala
From RFC-7235
The "Proxy-Authenticate" header field consists of at least one
challenge that indicates the authentication scheme(s) and parameters
applicable to the proxy for this effective request URI...
From RFC-7235
- Companion:
- object
- Source:
- Proxy-Authenticate.scala
From RFC-7235
The "Proxy-Authorization" header field allows the client to identify
itself (or its user) to a proxy that requires authentication.
From RFC-7235
- Companion:
- class
- Source:
- Proxy-Authorization.scala
Response header, used by the server to indicate to the user-agent how long it has to wait before it can try again with a follow-up request.
Response header, used by the server to indicate to the user-agent how long it has to wait before it can try again with a follow-up request.
- Value parameters:
- retry
Indicates the retry time, either as a date of expiration or as a number of seconds from the current time until that expiration.
- Companion:
- object
- Source:
- Retry-After.scala
Server header https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.2
- Companion:
- object
- Source:
- Server.scala
A Response header that links generated code to a source map, enabling the browser to reconstruct the original source and present the reconstructed original in the debugger.
A Response header that links generated code to a source map, enabling the browser to reconstruct the original source and present the reconstructed original in the debugger.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/SourceMap
- Value parameters:
- uri
A relative (to the request URL) or absolute URL pointing to a source map file.
- Companion:
- object
- Source:
- SourceMap.scala
Defined by https://datatracker.ietf.org/doc/html/rfc6797
- Companion:
- class
- Source:
- Strict-Transport-Security.scala
- Companion:
- object
- Source:
- Strict-Transport-Security.scala
User-Agent header RFC-7231 Section 5.5.3
User-Agent header RFC-7231 Section 5.5.3
- Companion:
- object
- Source:
- User-Agent.scala
Types
Deprecated types
- Deprecated
- Source:
- package.scala