Jsonp
object Jsonp
Middleware to support wrapping json responses in jsonp.
Jsonp wrapping occurs when the request contains a parameter with the given name and
the request Content-Type is application/json
.
If the wrapping is done, the response Content-Type is changed into
application/javascript
and the appropriate jsonp callback is
applied.
- Source:
- Jsonp.scala