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

return correct jsonp Content-Type #213

Merged
merged 1 commit into from
Apr 11, 2018
Merged

return correct jsonp Content-Type #213

merged 1 commit into from
Apr 11, 2018

Conversation

jmhodges
Copy link
Owner

Modern browsers won't run the JavaScript returned in the callback unless we
correct the Content-Type to application/javascript.

This patch fixes the problem and makes it possible to test the API inside our
tests with some slightly wild httptest hacks.

Modern browsers won't run the JavaScript returned in the callback unless we
correct the Content-Type to application/javascript.

This patch fixes the problem and makes it possible to test the API inside our
tests with some slightly wild httptest hacks.
@jmhodges jmhodges merged commit 8f79c3b into master Apr 11, 2018
@jmhodges jmhodges deleted the correct_jsonp branch April 11, 2018 09:04
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

Successfully merging this pull request may close these issues.

1 participant