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.
Value members
Concrete methods
def apply[A](allow: Allow, body: A, headers: ToRaw*)(implicit F: Applicative[F], w: EntityEncoder[G, A]): F[Response[G]]