1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-25 02:22:57 +01:00

Fixing broken DELETE test

This commit is contained in:
Michael Dowling 2012-08-12 19:38:53 -07:00
parent 538de90a86
commit 8f0674dcb3

View File

@ -505,11 +505,11 @@ class CurlHandleTest extends \Guzzle\Tests\GuzzleTestCase
// Send a DELETE request with a body
array('DELETE', 'http://localhost:8124/delete.php', null, 'body', array(
CURLOPT_CUSTOMREQUEST => 'DELETE',
CURLOPT_INFILESIZE => 4,
CURLOPT_HTTPHEADER => array (
'Expect:',
'Host: localhost:8124',
'User-Agent: ' . $userAgent,
'Content-Length: 4'
'Expect: 100-Continue'
)
), array(
'_Accept' => '*',
@ -517,6 +517,7 @@ class CurlHandleTest extends \Guzzle\Tests\GuzzleTestCase
'Host' => '*',
'User-Agent' => '*',
'Content-Length' => '4',
'Expect' => '100-Continue',
'!Transfer-Encoding' => null
)),
);