Correct the post/redirect/get logic when using MultiCurl::addPost()

This commit is contained in:
Zach Borboa
2021-11-20 22:17:32 -05:00
parent 0c8eab3083
commit 3d9acedb66
4 changed files with 25 additions and 17 deletions
+2 -1
View File
@@ -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);
}