Concatenate the two collections If the resulting collection is of Headers type, duplicate Singleton headers will be removed from this Headers collection.
Concatenate the two collections If the resulting collection is of Headers type, duplicate Singleton headers will be removed from this Headers collection.
collection to append
Attempt to get a org.http4s.Header from this collection of headers
Attempt to get a org.http4s.Header from this collection of headers
name of the header to find
a scala.Option possibly containing the resulting org.http4s.Header
Attempt to get a org.http4s.Header of type key.HeaderT from this collection
Attempt to get a org.http4s.Header of type key.HeaderT from this collection
HeaderKey.Extractable that can identify the required header
a scala.Option possibly containing the resulting header of type key.HeaderT
Header object and get(org.http4s.util.CaseInsensitiveString)
Make a new collection adding the specified headers, replacing existing headers of singleton type The passed headers are assumed to contain no duplicate Singleton headers.
Removes the Content-Length
, Content-Range
, Trailer
, and
Transfer-Encoding
headers.
Removes the Content-Length
, Content-Range
, Trailer
, and
Transfer-Encoding
headers.
https://tools.ietf.org/html/rfc7231#section-3.3
(Since version 0.16.0-RC1) Use response.cookies instead. Set-Cookie is unique among HTTP headers in that it can be repeated but can't be joined by a ','. This will return only the first Set-Cookie header. response.cookies
will return the complete list.
A collection of HTTP Headers