Earlier, we were setting contentType in curl client. So if contenttype is pre-set, it meant application/json. Since we are presetting each header now, we have corrected the check.
Checklist
[x] I acknowledge that all my contributions will be made under the project's license
[x] I have made a material change to the repo (functionality, testing, spelling, grammar)
Fixes
Earlier, we were setting contentType in curl client. So if contenttype is pre-set, it meant application/json. Since we are presetting each header now, we have corrected the check.
Checklist
If you have questions, please file a support ticket, or create a GitHub Issue in this repository.