Skip to content

Returning non-standard HTTP status code causes exceptions on WebFlux [SPR-16073] #20622

@spring-projects-issues

Description

@spring-projects-issues

Anders Aagaard opened SPR-16073 and commented

See https://gist.github.com/andaag/f30aeff3bda499bb159f50649a0eb353

When returning a Mono<ResponseEntity>, and the returned ResponseEntity has a custom http code, spring throws an java.lang.IllegalArgumentException: No matching constant for [555]


Affects: 5.0 GA

Issue Links:

Referenced from: commits 3890d4c

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