GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PLACK::MIDDLEWARE::JSONP (3)

.ds Aq ’

NAME

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

CONTENTS

SYNOPSIS



    enable "JSONP", callback_key => jsonp;



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. 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.

AUTHOR

Tatsuhiko Miyagawa

SEE ALSO

Plack
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PLACK::MIDDLEWARE::JSONP (3) 2015-06-03

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.