Skip to content

ReactorNettyClientResponse should not throw exception if no body is available #32805

Closed
@r16turbo

Description

@r16turbo

Environment: Spring Web 6.1.6, Java 17

The situation is the same as in #31719, which occurs when using Reactor Netty.

The reason is that the following code throws an exception:

https://github.com/spring-projects/spring-framework/blob/v6.1.6/spring-web/src/main/java/org/springframework/http/client/ReactorNettyClientResponse.java#L85

I believe that null should also be returned when using Reactor Netty, please let me know about a better way to implement this.

Thanks

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions