Marten::HTTP::Response
Represents an HTTP response.
This class allows to manipulate HTTP responses. These objects are associated with a specific HTTP response status, and they can define an associated content (and content type) as well as additional headers.
Constants
DEFAULT_CONTENT_TYPE = "text/html"
Constructors
Instance methods
Nested types
- Marten::HTTP::Response::BadRequest
- Marten::HTTP::Response::Forbidden
- Marten::HTTP::Response::Found
- Marten::HTTP::Response::Gone
- Marten::HTTP::Response::InternalServerError
- Marten::HTTP::Response::MethodNotAllowed
- Marten::HTTP::Response::MovedPermanently
- Marten::HTTP::Response::NotFound
- Marten::HTTP::Response::SeeOther
- Marten::HTTP::Response::Streaming