PYTHON HttpRequest::getResponseMessage

(0)
Python replacement for PHP's HttpRequest::getResponseMessage [ edit ]



Do you know a Python replacement for PHP's HttpRequest::getResponseMessage ? Write it!

PHP HttpRequest::getResponseMessage

PHP original manual for HttpRequest::getResponseMessage [ show | php.net ]

HttpRequest::getResponseMessage

(PECL pecl_http >= 0.10.0)

HttpRequest::getResponseMessageGet response message

Description

public HttpMessage HttpRequest::getResponseMessage ( void )

Get the full response as HttpMessage object after the request has been sent.

If redirects were allowed and several responses were received, the data references the last received response. Use HttpMessage::getParentMessage() to access the data of previously received responses within this request cycle.

Return Values

Returns an HttpMessage object of the response.

Errors/Exceptions

Throws HttpException, HttpRuntimeException.