Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set default application/json content-type when using json option
Will set the header when using `json: true` without a body.
- Loading branch information
1 parent
cd928c4
commit 5225289
Showing
2 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5225289
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi guys,
Thanks for this library, it's really useful.
Looks like this commit is breaking our services because
Content-Type
header shouldn't be set on GET requests.Issue is here: #1786
Cheers
Chris.