[8.x] Extract pending request creation for HTTP client (#35066)
[8.x] Extract pending request creation for HTTP client (#35066)

* Extract pending request creation for HTTP client

* Update Factory.php

Co-authored-by: Taylor Otwell <5d74ae093a16a00e5af127763f2dc7e13988f162@laravel.com>
hafezdivandari/framework,tomschlick/framework,leo108/laravel_framework,dwightwatson/framework,notebowl/laravel-framework,mul14/laravel-framework,JosephSilber/framework,morrislaptop/framework,mul14/laravel-framework,leo108/laravel_framework,mul14/laravel-framework,arturock/framework,JosephSilber/framework,JamesForks/framework,driesvints/framework,arturock/framework,bytestream/framework,samlev/framework,notebowl/laravel-framework,crynobone/framework,driesvints/framework,samlev/framework,arturock/framework,bytestream/framework,hafezdivandari/framework,dwightwatson/framework,morrislaptop/framework,tomschlick/framework,lucasmichot/framework,tomschlick/framework,laravel/framework,crynobone/framework,mul14/laravel-framework,stevebauman/framework,JamesForks/framework,stevebauman/framework,lucasmichot/framework,laravel/framework