twilio / twilio-go

A Go package for communicating with the Twilio API.
MIT License
271 stars 40 forks source link

chore: remove duplicate setting of header params #249

Closed tiwarishubham635 closed 2 weeks ago

tiwarishubham635 commented 2 weeks ago

Fixes

Currently, contentType is being set in header at two places in case of form-url-encoded. One at this place, the other at this. Since we are passing it in headers, removing the explicit addition of contentType.

Checklist

If you have questions, please file a support ticket, or create a GitHub Issue in this repository.

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud