As requested, this is a failing test for issue #57.
This is simply a copy of CanProxyControllerPostWithFormRequest() changed to send to "api/catchall/posts".
In this test (unlike what I mentioned in that issue) it does not hang and eventually timeout, but that is due to the server it is proxying to gracefully handling the empty request body. The problem can still be seen via something like Wireshark checking the request that actually gets sent, as it is empty. And as the request sent is empty, the response data doesn't contain the parameters we tried to send, and the test fails.
As requested, this is a failing test for issue #57.
This is simply a copy of
CanProxyControllerPostWithFormRequest()
changed to send to"api/catchall/posts"
.In this test (unlike what I mentioned in that issue) it does not hang and eventually timeout, but that is due to the server it is proxying to gracefully handling the empty request body. The problem can still be seen via something like Wireshark checking the request that actually gets sent, as it is empty. And as the request sent is empty, the response data doesn't contain the parameters we tried to send, and the test fails.