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

don't set content type in api_post_request #127

Merged
merged 1 commit into from
Mar 12, 2014

Conversation

chilicheech
Copy link

Since we call request.set_form_data we don't need to call request.content_type because request.set_form_data already sets the content_type to application/x-www-form-urlencoded, thus overwriting the application/json that was previously set.

@stjohnjohnson
Copy link
Contributor

We ran into this as well, we had to patch it locally. Great catch!

@arangamani
Copy link
Owner

Makes sense, merging.

arangamani added a commit that referenced this pull request Mar 12, 2014
don't set content type in api_post_request
@arangamani arangamani merged commit a03bce6 into arangamani:master Mar 12, 2014
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.

3 participants