Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以访问仅使用分块响应数据(传输编码:分块)响应的第 3 方 Web API。
另一方面,我有一个只能接受未分块响应(内容长度:x)的第 3 方客户端。客户端是可配置的,因此我可以更改 API 端点。
是否可以将 Apache httpd 设置为“取消分块”响应数据,删除“分块”标头并应用正确的“内容长度”?
我已经尝试过 nginx(windows),它只是通过了未分块的数据。我也尝试过使用 mod_proxy 的 Apache,但这似乎也传递了分块数据。
谢谢。