class
JSONAPI::MediaTypeHandler
- JSONAPI::MediaTypeHandler
- Reference
- Object
Overview
HTTP::Handler enforcing JSON:API v1.1 ยง6.2 Content-Type (415) and Accept (406)
content negotiation rules, and setting Content-Type: application/vnd.api+json on responses.
Included Modules
- HTTP::Handler
Defined in:
jsonapi/media_type_handler.crConstant Summary
-
ALLOWED_PARAMETERS =
Set {"ext", "profile"} -
BODY_METHODS =
Set {"POST", "PATCH", "PUT"}