Fork me on GitHub

Hey I am having an issue that the :body of my request is empty. I have read that you can only read the body of a request once. Is there a way to debug where that read is happening? It’s a pretty complex webapp with a bunch of middleware and endpoints and stuff and I can’t seem to find it via manually tracing it.


@kasuko There’s a BrokenInputStream class in Apache Commons I/O that you could use. Create a request and use the broken input stream as the body, then push it through your handler and use the stacktrace to see where the body was read from.


Hello! How would one make a “path-for” a route in another namespace?


@eostman Not sure what you mean by that


LMK if you’d rather I opened an issue directly for tracking purposes…