NAME

HTTP::Message::JSON - a very simple superclass for JSON HTTP messages

DESCRIPTION

This is a very simple superclass used by HTTP::Request::JSON and HTTP::Response::JSON. It overrides the default behaviour of the HTTP::Headers method content_is_text.

content_is_text

Returns TRUE if this is a message with content type application/json. Otherwise uses the default behaviour of HTTP::Headers.