You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the content-type is passed, the raw body is used in the request.
The default content-type is json, and the body would be parsed to JSON format.
Updated documentation and changelog.
Closes#115
* Allow passing content-type header to GitHubAPI.POST
When the content-type is passed, the raw body is used in the request.
The default content-type is json, and the body would be parsed to JSON format.
Updated documentation and changelog.
Closes#115
Co-authored-by: Brett Cannon <brett@python.org>
Uploading a release asset expects an appropriate
content-type
for what is uploaded. CurrentlyGitHubAPI
always assumes a JSON payload.The text was updated successfully, but these errors were encountered: