apache / apache/servicecomb-java-chassis

[BUG] - When the client sets accept:text/event-stream then response not supported

未关闭
#4,934 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Java
星标
1.9k
派生
814
平均合并
8 天 23 小时
30 天内合并 PR
1

描述

### 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_

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先在响应处理路径中追踪 produceProcessorMap 和 ProduceJsonProcessor,然后在 ServiceComb 2.9.0 上使用值为 text/event-stream 的 Accept 标头重现该故障。当 text/event-stream 响应使用适当的已初始化处理器,而不是由 ProduceJsonProcessor 进行解析时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
api
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。