Skip to content
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

Process JSONP errors #1

Open
ppazos opened this issue Jun 23, 2015 · 1 comment
Open

Process JSONP errors #1

ppazos opened this issue Jun 23, 2015 · 1 comment

Comments

@ppazos
Copy link
Owner Author

ppazos commented Jun 24, 2015

The problem with JSONP is that the server responds 404 means that it will not retrieve any javascript so the response body is empty in the browser, even if the server returns the error in JSON.

Test this plugin: https://github.com/jaubourg/jquery-jsonp
And this sample: http://stackoverflow.com/questions/19035557/jsonp-request-error-handling/19185826#19185826

ppazos added a commit that referenced this issue Jun 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant