Skip to content

Allow post requests without content-type header#109

Merged
samwelkanda merged 1 commit intodevfrom
bug/no-contentype-header
Jan 17, 2022
Merged

Allow post requests without content-type header#109
samwelkanda merged 1 commit intodevfrom
bug/no-contentype-header

Conversation

@samwelkanda
Copy link
Contributor

Overview

Fixes an issue where PUT/PATCH/POST requests will fail on retry if there is no content-type header supplied in the request. requests library will only set the Content-Type if you use data, files or json as arguments

Demo

N/A

Notes

N/A

Testing Instructions

N/A

closes #108

@samwelkanda samwelkanda merged commit 0c1fc5e into dev Jan 17, 2022
@samwelkanda samwelkanda deleted the bug/no-contentype-header branch January 17, 2022 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Header check failing

2 participants