This commit is contained in:
Zach Borboa
2016-11-12 09:21:06 -08:00
parent 36709adbba
commit 95c9f92c9f
2 changed files with 2 additions and 3 deletions
+2 -1
View File
@@ -6,7 +6,8 @@ use \Curl\Curl;
// curl --request DELETE "https://httpbin.org/delete?key=value" --data "a=1&b=2&c=3"
$curl = new Curl();
$curl->delete('https://httpbin.org/delete',
$curl->delete(
'https://httpbin.org/delete',
array(
'key' => 'value',
),
-2
View File
@@ -711,7 +711,6 @@ class CurlTest extends PHPUnit_Framework_TestCase
$filesize + 3,
) as $length) {
$source = Test::TEST_URL;
$destination = Helper\get_tmp_file_path();
@@ -721,7 +720,6 @@ class CurlTest extends PHPUnit_Framework_TestCase
// Start with $length bytes of file.
} else {
// Simulate resuming partially downloaded temporary file.
$partial_filename = $destination . '.pccdownload';