as the content type that will
override the default C<application/json> type.
Example:
print $cgi->route('text/javascript'); # JSONP
=item method('content/type', 'HTTP status')
Two header value
erpreted as the content type and
HTTP status, respectively.
Example:
print $cgi->poll('text/json', '401 Unauthorized'); # Auth request
=item method(-header => 'value')
Any custom header can be
dispatches the quests, collects results and
returns an HTTP response with results as a serialized JSON stream.
Accepts custom headers as described in L</"HTTP response headers">.
=item C<poll>
Inst