Skip to content

Support JSONP responses #9

bhollis opened this Issue Oct 1, 2011 · 4 comments

3 participants

bhollis commented Oct 1, 2011

JSONView can already parse JSONP responses, it just needs to handle JavaScript MIME types.

afeld commented Apr 3, 2013

Express.js's jsonp() method formats responses in the following way (or see a live example):

callbackName && callbackName({
  // ...

Would be nice to have this format recognized as JSONP by JSONView.



bhollis commented Feb 25, 2015

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 text/javascript or application/javascript content. I'm going to close this feature request and likely remove what JSONP support exists in JSONView for the next release.

@bhollis bhollis closed this Feb 25, 2015
@bhollis bhollis added a commit that referenced this issue May 30, 2015
@bhollis Remove JSONP support. See #9. 8c8977e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.