micronaut-core icon indicating copy to clipboard operation
micronaut-core copied to clipboard

Using HttpRequest.mutate() breakes access to request body.

Open marek-stanulewicz opened this issue 1 year ago • 2 comments
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

marek-stanulewicz avatar Jan 09 '24 08:01 marek-stanulewicz

might have to wait for body rework.

yawkat avatar Jan 09 '24 09:01 yawkat

Does anyone know if that's a 4.x version this isn't broken with?

eahrold avatar Aug 08 '24 16:08 eahrold