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

Set default application/json content-type when using json option #1772

Merged
merged 1 commit into from Sep 16, 2015

Conversation

jzaefferer
Copy link
Contributor

Will set the header when using json: true without a body.

Fixes #1759

Will set the header when using `json: true` without a body.
simov added a commit that referenced this pull request Sep 16, 2015
Set default application/json content-type when using json option
@simov simov merged commit 181cb76 into request:master Sep 16, 2015
@simov
Copy link
Member

simov commented Sep 16, 2015

👍

@jzaefferer
Copy link
Contributor Author

Could you also tag and publish this? Thanks.

@simov
Copy link
Member

simov commented Sep 21, 2015

Done.

@jzaefferer jzaefferer deleted the json-content-type branch September 23, 2015 15:03
simov added a commit that referenced this pull request Sep 25, 2015
Revert: Set default application/json content-type when using json option #1772
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.

None yet

3 participants