Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set default value for accept #13199

Merged
merged 1 commit into from
Oct 14, 2023
Merged

Conversation

imJYZ
Copy link
Contributor

@imJYZ imJYZ commented Oct 13, 2023

What is the purpose of the change

If there is no accept in the request header, set the default value.

refer to https://datatracker.ietf.org/doc/html/rfc2616#page-100
a693bda7-171e-40d1-9b01-72ab3e73be44

Brief changelog

Verifying this change

Checklist

  • Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
  • Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
  • Add some description to dubbo-website project if you are requesting to add a feature.
  • GitHub Actions works fine on your own branch.
  • If this contribution is large, please follow the Software Donation Guide.

@sonarcloud
Copy link

sonarcloud bot commented Oct 13, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

66.7% 66.7% Coverage
0.0% 0.0% Duplication

@codecov-commenter
Copy link

Codecov Report

Merging #13199 (801ce5e) into 3.2 (c4120fe) will increase coverage by 0.03%.
Report is 1 commits behind head on 3.2.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.2   #13199      +/-   ##
============================================
+ Coverage     69.40%   69.43%   +0.03%     
  Complexity        2        2              
============================================
  Files          1649     1649              
  Lines         68722    68725       +3     
  Branches      10012    10014       +2     
============================================
+ Hits          47696    47720      +24     
+ Misses        16454    16414      -40     
- Partials       4572     4591      +19     

see 43 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@CrazyHZM CrazyHZM merged commit a4a3fd7 into apache:3.2 Oct 14, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants