micronaut-core
micronaut-core copied to clipboard
Using HttpRequest.mutate() breakes access to request body.
trafficstars
Expected Behavior
Mutated request should allow access to body like original one.
Actual Behaviour
The returned body is null.
Steps To Reproduce
Just run the test.
Environment Information
Windows. JDK Corretto 17.0.9.
Example Application
https://github.com/marek-stanulewicz/micronaut-issues/tree/http-request-mutation
Version
4.2.3
might have to wait for body rework.
Does anyone know if that's a 4.x version this isn't broken with?