cloudwego / hertz

Go HTTP framework with high-performance and strong-extensibility for building micro-services.
https://www.cloudwego.io
Apache License 2.0
5.16k stars 498 forks source link

fix: do not pre-bind for BindXXX interface & normalize content-type #1060

Closed FGYFFFF closed 7 months ago

FGYFFFF commented 7 months ago

What type of PR is this?

fix

Check the PR title.

(Optional) Translate the PR title into Chinese.

使用BindXXX()接口时,无需做提前的 pre-bind;并且对 content-type 做归一化处理

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en: do not pre-bind for BindXXX interface & normalize content-type zh(optional): 使用BindXXX()接口时,无需做提前的 pre-bind;并且对 content-type 做归一化处理

(Optional) Which issue(s) this PR fixes:

(Optional) The PR that updates user documentation:

codecov[bot] commented 7 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (0619701) 82.52% compared to head (9a6d2f2) 82.54%.

Files Patch % Lines
pkg/app/context.go 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1060 +/- ## =========================================== + Coverage 82.52% 82.54% +0.02% =========================================== Files 98 98 Lines 10025 10026 +1 =========================================== + Hits 8273 8276 +3 + Misses 1255 1254 -1 + Partials 497 496 -1 ```

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