aws / aws/bedrock-agentcore-sdk-python

Removal/Modification of response headers

未关闭
#246 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
761
派生
147
平均合并
1 天 23 小时
30 天内合并 PR
7

描述

**Is your feature request related to a problem? Please describe.**
Noticing that when trying to use response streaming via API Gateway, the underlying AgentCore mechanisms (Starlette?) is buffering and returning Content-Length header which appears to be possibly negating the API gateway response streaming capability (HTTP proxy) .

**Describe the solution you'd like**
Ability to modify content headers or remove Content-Length, etc when required.

贡献指南

打开贡献指南

调研方向

未指定文件、测试或入口点。首先跟踪 Python SDK 的 API Gateway 集成中的响应流式传输和响应标头生成,然后确定如何在不禁用流式传输的情况下修改或删除标头。完成的标准是调用方可以控制相关标头,包括在需要时删除 Content-Length。

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

评估

技术栈
aws, python
领域
api, backend, cloud
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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