You are here

constant RequestOptions::HTTP_ERRORS in Lockr 7.3

http_errors: (bool, default=true) Set to false to disable exceptions when a non- successful HTTP response is received. By default, exceptions will be thrown for 4xx and 5xx responses. This option only works if your handler has the `httpErrors` middleware.

File

vendor/guzzlehttp/guzzle/src/RequestOptions.php, line 133

Class

RequestOptions
This class contains a list of built-in Guzzle request options.

Namespace

GuzzleHttp

Code

const HTTP_ERRORS = 'http_errors';