1

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.

OMG Ponies
  • 325,700
  • 82
  • 523
  • 502
Tom
  • 91
  • 6

1 Answers1

8

Found the answer:

$response->getStatus();
OMG Ponies
  • 325,700
  • 82
  • 523
  • 502
Tom
  • 91
  • 6