-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support JSONP responses #9
Comments
Express.js's callbackName && callbackName({
// ...
}); Would be nice to have this format recognized as JSONP by JSONView. |
Makes sense. The regex should be easy to modify, want to send a PR? -Ben Sent from my phone On Apr 3, 2013, at 10:30 AM, Aidan Feldman notifications@github.com wrote: Express.js's jsonp() method callbackName && callbackName({ Would be nice to have this format recognized as JSONP by JSONView. — |
+1 |
These days I can't say I have any use for JSONP in general - CORS is a much better solution. I'm also not interested in chasing down every variant on a "JSONP" response that a different web server might produce. Furthermore, I can't really see JSONView ever being the viewer responsible for |
JSONView can already parse JSONP responses, it just needs to handle JavaScript MIME types.
The text was updated successfully, but these errors were encountered: