简体   繁体   English

Oracle 服务总线:业务服务将传输编码提供为 'chunked' ,即使禁用了“使用分块流模式”

[英]Oracle Service Bus: business service gives transfer-encoding as 'chunked' , even though 'Use chunked streaming mode' is disabled

Business service gives transfer-encoding as 'chunked' even though the 'use chunked streaming mode' is disabled in the http Transport configuration.即使在 http 传输配置中禁用了“使用分块流传输模式”,业务服务也会将传输编码设置为“分块”。

As part of one of our requirements we need the content-length in the http response header , since the service response is getting chunked by default , the content-length is ignored in the header.作为我们要求的一部分,我们需要 http 响应标头中的 content-length ,因为默认情况下服务响应会被分块,因此标头中的 content-length 被忽略。

This is observed in OSB 12c versions ( tested in 12.1.3 and 12.2.1.2).这在 OSB 12c 版本中观察到(在 12.1.3 和 12.2.1.2 中测试)。

Kindly help with this?请帮忙解决这个问题?

Setting transfer-encoding as 'chunked' in OSB HTTP business Service only gurantees the request is chunked.在 OSB HTTP 业务服务中将传输编码设置为“分块”仅保证请求分块。 It doesn't say about the response .它没有说明响应。

If the client is using HTTP /1.1 protocol most of the response is chuncked .如果客户端使用 HTTP /1.1 协议,则大部分响应都会被分块。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM