Skip to content

Support getting/writing the body as Flux<DataBuffer> in WebClient [SPR-14918] #19485

@spring-projects-issues

Description

@spring-projects-issues

Sébastien Deleuze opened SPR-14918 and commented

On server side, it is possible to perform low level operations on the body thanks to ServerHttpRequest/Response. Should we provide similar capability to the client? That could be done by exposing access to the underlying ClientHttpRequest/Response or by adding a DataBufferWriter/Reader for example.

Note that the initial need for this is to turn a Flux<byte[]> into an InputStream in order to be able to unzip it, so providing such facility in Reactor Core or Spring Framework 5 could be also a valid alternative


Referenced from: commits 735e288

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions