org.http4s.headers.Expires
See theExpires companion object
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.
Attributes
- Companion
- object
- Source
- Expires.scala
- Graph
-
- Supertypes
Members list
In this article