From b720a2d0ff4a135ee0ef542082b2b979ff1f1d14 Mon Sep 17 00:00:00 2001 From: Greg Pinnington <48593081+stickeegreg@users.noreply.github.com> Date: Mon, 16 May 2022 16:07:31 +0100 Subject: [PATCH] Update docs from default_handler to HandlerStack::create (#3000) Co-authored-by: RoBorg --- 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