Reactor-netty: Add Global Option to Disable Chunked Transfer

Created on 12 May 2017  路  4Comments  路  Source: reactor/reactor-netty

Currently in order to disable chunked transfer encoding, each request must be modified setting chunkedTransfer. If you want to code an application that is connecting to a network device that cannot support chunked transfer you must disable this option for each and every request.

Instead of requiring this for each request there should be a global option to disable this behavior for all uses of a specific HttpClient.

typenhancement

Most helpful comment

Shouldn't this be backported to 0.7.*? In its current form, WebFlux client is unusable with any HTTP service which does not support "chunked" transfer encoding.
This kind of defeats the purpose why one would want to migrate to WebFlux client in heterogeneous scenarios (scenarios where not all services are Java/Spring/WebFlux based).
It is certainly a show stopper for us, since we need to integrate with legacy CGI HTTP service which does not support "chunked" encoding.

All 4 comments

Fixed by #261

Shouldn't this be backported to 0.7.*? In its current form, WebFlux client is unusable with any HTTP service which does not support "chunked" transfer encoding.
This kind of defeats the purpose why one would want to migrate to WebFlux client in heterogeneous scenarios (scenarios where not all services are Java/Spring/WebFlux based).
It is certainly a show stopper for us, since we need to integrate with legacy CGI HTTP service which does not support "chunked" encoding.

Was this page helpful?
0 / 5 - 0 ratings