How do I get the http response/server code from each request in Zend Framework?

1.9k Views Asked by At

Using the Zend Framework Http client, how do I get the http response/server code from each request? I am getting the body just fine, but the response code would be nice too.

1

There are 1 best solutions below

1
On BEST ANSWER

Found the answer:

$response->getStatus();