Query: plack::middleware::jsonp
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Plack::Middleware::JSONP(3pm) User Contributed Perl Documentation Plack::Middleware::JSONP(3pm)NAMEPlack::Middleware::JSONP - Wraps JSON response in JSONP if callback parameter is specifiedSYNOPSISenable "JSONP", callback_key => 'jsonp';DESCRIPTIONPlack::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. The name of the parameter can be set while enabling the middleware. This middleware only works with a non-streaming response, and doesn't touch the response otherwise.AUTHORTatsuhiko MiyagawaSEE ALSOPlack perl v5.14.2 2011-06-22 Plack::Middleware::JSONP(3pm)