class Requests_Response {}

In this article

HTTP response class

Description

Contains a response from Requests::request()

Methods

NameDescription
Requests_Response::__constructConstructor
Requests_Response::is_redirectIs the response a redirect?
Requests_Response::throw_for_statusThrows an exception if the request was not successful

Source

User Contributed Notes

You must log in before being able to contribute a note or feedback.