Hi,
in our codebase we made use of this gist, which relies on a private API, but more importantly, creates requests without going through the response chain. This is relevant for catching exceptions in Middleware: there were two tests that explicitly test for DISALLOWED_HOST and I had to rewrite them to test for a 400 response.
I don't see an easy way to restore the old behavior and stick to official API's. Am I missing something or is this correct?
--
Melvyn Sopacua