Expires

zio.http.Header.Expires
See theExpires companion class
object Expires extends HeaderType

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: , : : GMT

Example:

Expires: Wed, 21 Oct 2015 07:28:00 GMT

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait HeaderType
class Object
trait Matchable
class Any
Show all
Self type
Expires.type

Members list

Type members

Types

override type HeaderValue = Expires

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

override def name: String

Attributes

Definition Classes
def parse(date: String): Either[String, Expires]
def render(expires: Expires): String