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

Content-Type header shoudn't be set on GET #1786

Closed
thecadams opened this issue Sep 24, 2015 · 2 comments
Closed

Content-Type header shoudn't be set on GET #1786

thecadams opened this issue Sep 24, 2015 · 2 comments

Comments

@thecadams
Copy link

5225289 always sets Conent-Type for requests with json:true but this shouldn't happen for GET requests.

It's breaking our servers that see the Content-Type header and blindly go looking for a body.

We can work around it by downgrading but wanted to call your attention to it.

thecadams referenced this issue Sep 24, 2015
Will set the header when using `json: true` without a body.
@simov
Copy link
Member

simov commented Sep 24, 2015

Fixed in #1785 I'll release it tomorrow.

@thecadams
Copy link
Author

Super fast turnaround - cheers!

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 a pull request may close this issue.

2 participants