Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

DELETE verb should also set contents in the request body

  • Loading branch information...
commit 217cb6a0b72fe2033d7c563e0c8bd48896871fd2 1 parent ca5ceed
@acasademont acasademont authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Buzz/Client/Curl.php
View
1  lib/Buzz/Client/Curl.php
@@ -40,6 +40,7 @@ static protected function setCurlOptsFromRequest($curl, Message\Request $request
case Message\Request::METHOD_POST:
case Message\Request::METHOD_PUT:
+ case Message\Request::METHOD_DELETE:
$options[CURLOPT_POSTFIELDS] = $fields = self::getPostFields($request);
// remove the content-type header
Please sign in to comment.
Something went wrong with that request. Please try again.