apache / apache/servicecomb-java-chassis
[BUG] - When the client sets accept:text/event-stream then response not supported
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 814
- Avg merge
- 8d 23h
- Merged PRs (30d)
- 1
Description
### Steps to Reproduce
1. produceProcessorMap add init text/event-stream processor.
2. using ProduceJsonProcessor parse respone when text/event-stream request failed.
### Expected Behavior
_No response_
### Servicecomb Version
2.9.0
### Additional Context
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing produceProcessorMap and ProduceJsonProcessor in the response-processing path, then reproduce the failure with an Accept header of text/event-stream on ServiceComb 2.9.0. Done means text/event-stream responses use an appropriate initialized processor instead of being parsed by ProduceJsonProcessor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100