From d96cf9c3c03c47aeac9abddefb4680d33e271a7c Mon Sep 17 00:00:00 2001 From: RoBorg Date: Fri, 25 Mar 2022 15:14:19 +0000 Subject: [PATCH] Update docs from default_handler to HandlerStack::create --- docs/request-options.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/request-options.rst b/docs/request-options.rst index 1f1c5a2d6..0bd2cb8b8 100644 --- a/docs/request-options.rst +++ b/docs/request-options.rst @@ -268,7 +268,7 @@ You must specify the cookies option as a This option only has an effect if your handler has the ``GuzzleHttp\Middleware::cookies`` middleware. This middleware is added by default when a client is created with no handler, and is added by - default when creating a handler with ``GuzzleHttp\default_handler``. + default when creating a handler with ``GuzzleHttp\HandlerStack::create``. .. tip:: @@ -554,7 +554,7 @@ http_errors This option only has an effect if your handler has the ``GuzzleHttp\Middleware::httpErrors`` middleware. This middleware is added by default when a client is created with no handler, and is added by - default when creating a handler with ``GuzzleHttp\default_handler``. + default when creating a handler with ``GuzzleHttp\HandlerStack::create``. idn_conversion