mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-10-17 09:25:50 +00:00
Correct the post/redirect/get logic when using MultiCurl::addPost()
This commit is contained in:
@@ -53,7 +53,8 @@ class Test
|
||||
private function chainedRequest($request_method, $data)
|
||||
{
|
||||
if ($request_method === 'POST') {
|
||||
$this->server('request_method', $request_method, $data, true);
|
||||
$follow_303_with_post = true;
|
||||
$this->server('request_method', $request_method, $data, $follow_303_with_post);
|
||||
} else {
|
||||
$this->server('request_method', $request_method, $data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user