Loading core/tests/Drupal/FunctionalJavascriptTests/WebDriverCurlService.php +10 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,11 @@ public function execute($requestMethod, $url, $parameters = NULL, $extraOptions } else { $customHeaders[] = 'Content-Length: 0'; // Suppress "Transfer-Encoding: chunked" header automatically // added by cURL that causes a 400 bad request (bad // content-length). $customHeaders[] = 'Transfer-Encoding:'; } // Suppress "Expect: 100-continue" header automatically added by Loading @@ -62,6 +67,11 @@ public function execute($requestMethod, $url, $parameters = NULL, $extraOptions } else { $customHeaders[] = 'Content-Length: 0'; // Suppress "Transfer-Encoding: chunked" header automatically // added by cURL that causes a 400 bad request (bad // content-length). $customHeaders[] = 'Transfer-Encoding:'; } // Suppress "Expect: 100-continue" header automatically added by Loading Loading
core/tests/Drupal/FunctionalJavascriptTests/WebDriverCurlService.php +10 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,11 @@ public function execute($requestMethod, $url, $parameters = NULL, $extraOptions } else { $customHeaders[] = 'Content-Length: 0'; // Suppress "Transfer-Encoding: chunked" header automatically // added by cURL that causes a 400 bad request (bad // content-length). $customHeaders[] = 'Transfer-Encoding:'; } // Suppress "Expect: 100-continue" header automatically added by Loading @@ -62,6 +67,11 @@ public function execute($requestMethod, $url, $parameters = NULL, $extraOptions } else { $customHeaders[] = 'Content-Length: 0'; // Suppress "Transfer-Encoding: chunked" header automatically // added by cURL that causes a 400 bad request (bad // content-length). $customHeaders[] = 'Transfer-Encoding:'; } // Suppress "Expect: 100-continue" header automatically added by Loading