go-resty / resty

Simple HTTP and REST client library for Go
MIT License
10.01k stars 706 forks source link

feat!: disallow the DELETE verb payload by default and provide the option to allow it #881 #883

Closed jeevatkm closed 1 week ago

jeevatkm commented 1 week ago

Closes #881

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.30%. Comparing base (c6cf259) to head (ec592e3). Report is 8 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #883 +/- ## ========================================== + Coverage 98.15% 98.30% +0.15% ========================================== Files 14 15 +1 Lines 2329 2480 +151 ========================================== + Hits 2286 2438 +152 + Misses 23 22 -1 Partials 20 20 ``` | [Flag](https://app.codecov.io/gh/go-resty/resty/pull/883/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-resty) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/go-resty/resty/pull/883/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-resty) | `98.30% <100.00%> (+0.15%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-resty#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.