Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
using injected response object #5068
In The client the following happens:
A new response object of type Zend\Http\Response is created on incoming response, instead of the injected one, which can be retrieved using $this->getResponse().
Current (dirty) Solution is to catch the exception and call the fromString method in the CustomResponse class containing the additional STATUS_CODE_'s.