hertz icon indicating copy to clipboard operation
hertz copied to clipboard

feat: Add Partitioned Parameter to SetCookie

Open Haswf opened this issue 2 years ago • 1 comments

What type of PR is this?

feat

Check the PR title.

  • [x] This PR title match the format: <type>(optional scope): <description>
  • [x] The description of this PR title is user-oriented and clear enough for others to understand.
  • [x] Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

feat: SetCookie 增加 Partitioned 参数

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

en: As discuessed, this PR adds partitioned parameter to (*RequestContext).SetCookie, simplifying the use of partitioned cookies.

zh(optional):

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

(Optional) The PR that updates user documentation:

Yes, see https://github.com/cloudwego/cloudwego.github.io/pull/929 for related doc changes.

Haswf avatar Jan 12 '24 13:01 Haswf

Codecov Report

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

Comparison is base (0d25abe) 82.49% compared to head (3f1e84f) 82.55%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1048      +/-   ##
===========================================
+ Coverage    82.49%   82.55%   +0.05%     
===========================================
  Files           98       98              
  Lines        10025    10030       +5     
===========================================
+ Hits          8270     8280      +10     
+ Misses        1258     1254       -4     
+ Partials       497      496       -1     

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

codecov[bot] avatar Jan 15 '24 03:01 codecov[bot]