Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix #2419 #2421
Unbreak request bodies without content.
If you do need to pass content, this will provide JSON as the default encoding, and you'll still need to address CORS, but you can still generally send things as plain text.
Motivation and Context
How Has This Been Tested?
Ran tests and added a few new ones to ensure this doesn't break again.
Types of changes