Permalink
Browse files

Making Service delete return the empty body again.

  • Loading branch information...
1 parent 13a1e45 commit 62ad34dca22da24f8250a742720a6678a90c2d57 @gwoo gwoo committed Sep 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 net/http/Service.php
View
@@ -186,7 +186,7 @@ public function patch($path = null, $data = array(), array $options = array()) {
* @return string
*/
public function delete($path = null, $data = array(), array $options = array()) {
- $defaults = array('return' => 'response', 'type' => false);
+ $defaults = array('type' => false);
return $this->send(__FUNCTION__, $path, $data, $options + $defaults);
}

0 comments on commit 62ad34d

Please sign in to comment.