On Thu, Jun 11, 2020 at 8:20 PM Andreas Schaefer <[email protected]> wrote:
>... Nevermind. I just realized that getResponse().getStatus() gives me access >to the status code... Yes, but you have to ignore the status check explicitly by calling checkStatus() with no argument, meaning "I want to ignore the status value". I think that's a reasonable API to avoid forgetting to check the status, while allowing for special cases where you don't care. Note that I had to rework the APIs to make sure an actual resource is provided for the "direct servlet execution" mode - no big differences and that's clearer now IMO, just committed those changes about half an hour ago. -Bertrand
