Expires

final case class Expires(expirationDate: HttpDate)

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

RFC-7234 Section 5.3

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
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

Inherited from:
Product