go-resty / resty

Simple HTTP and REST client library for Go
MIT License
9.89k stars 696 forks source link

fix: improve regex expression for json and xml content type validation #702

Closed jeevatkm closed 11 months ago

jeevatkm commented 11 months ago

Closes #594

codecov[bot] commented 11 months ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (7c1134f) 95.65% compared to head (4da1873) 95.65%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #702 +/- ## ======================================= Coverage 95.65% 95.65% ======================================= Files 12 12 Lines 1611 1611 ======================================= Hits 1541 1541 Misses 42 42 Partials 28 28 ``` | [Files Changed](https://app.codecov.io/gh/go-resty/resty/pull/702?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-resty) | Coverage Δ | | |---|---|---| | [client.go](https://app.codecov.io/gh/go-resty/resty/pull/702?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-resty#diff-Y2xpZW50Lmdv) | `96.52% <ø> (ø)` | |

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