NAME

Plack::Middleware::JSONP - Wraps JSON response in JSONP if callback parameter is specified

DESCRIPTION

Plack::Middleware::JSONP wraps JSON response, which has Content-Type value either text/javascript or application/json as a JSONP response which is specified with the callback query parameter.

AUTHOR

Tatsuhiko Miyagawa

SEE ALSO

Plack