AllowResponseGenerator
Helper for the generation of a org.http4s.Response which must contain an Allow header and may contain a body.
A 405 status MUST contain an Allow
header, which
distinguishes this from other ResponseGenerator
s.
- Source:
- ResponseGenerator.scala
Value members
Concrete methods
def apply[A](allow: Allow, body: A, headers: ToRaw*)(implicit F: Applicative[F], w: EntityEncoder[G, A]): F[Response[G]]
- Source:
- ResponseGenerator.scala