Closed olexiyk closed 3 years ago
… on statuses 300, 301, 302
Resolves #207 by allowing to follow redirect specs for 301 and 302 more strictly - not modifying request method
$plugins = $plugins ?? [ new RedirectPlugin(['strict' => true]), ]; $httpClient = (new PluginClientFactory())->createClient( Psr18ClientDiscovery::find(), $plugins );
i tagged 2.4.0 with this feature. thanks for the contribution!
Thank you for quick action!
… on statuses 300, 301, 302
What's in this PR?
Resolves #207 by allowing to follow redirect specs for 301 and 302 more strictly - not modifying request method
Example Usage
Checklist
To Do