LocationResponseGenerator
Helper for the generation of a org.http4s.Response which may contain a Location header and may contain a body.
A 300, 301, 302, 303, 307 and 308 status SHOULD contain a Location header, which
distinguishes this from other EntityResponseGenerator
s.
Value members
Concrete methods
def apply[A](location: Location, body: A, headers: ToRaw*)(implicit F: Applicative[F], w: EntityEncoder[G, A]): F[Response[G]]
Inherited methods
def apply[A](body: A, headers: ToRaw*)(implicit F: Applicative[F], w: EntityEncoder[G, A]): F[Response[G]]
- Inherited from:
- EntityResponseGenerator