简体   繁体   中英

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.

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.

This is observed in OSB 12c versions ( tested in 12.1.3 and 12.2.1.2).

Kindly help with this?

Setting transfer-encoding as 'chunked' in OSB HTTP business Service only gurantees the request is chunked. It doesn't say about the response .

If the client is using HTTP /1.1 protocol most of the response is chuncked .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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