apache / apache/servicecomb-java-chassis
[BUG] - 3.X 消费端调用服务端Header重复
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 814
- Avg merge
- 8d 23h
- Merged PRs (30d)
- 1
Description
### Steps to Reproduce
3.x直接添加org.apache.servicecomb.transport.rest.client.RestClientRequestParametersImpl#putHeader,而不是覆盖,所以会出现重复header的问题
@liubao68
### Expected Behavior
_No response_
### Servicecomb Version
_No response_
### Additional Context
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in org.apache.servicecomb.transport.rest.client.RestClientRequestParametersImpl and inspect putHeader, which the issue identifies as appending values. Reproduce the 3.x consumer-to-server request and confirm the completed behavior: repeated headers are replaced rather than duplicated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100