diff --git a/src/pjdietz/WellRESTed/Handler.php b/src/pjdietz/WellRESTed/Handler.php index 71f94a0..c68bec6 100644 --- a/src/pjdietz/WellRESTed/Handler.php +++ b/src/pjdietz/WellRESTed/Handler.php @@ -113,9 +113,7 @@ abstract class Handler implements HandlerInterface // The default function calls the instance's get() method, then sets // the resonse's body member to an empty string. $this->get(); - if ($this->response->getStatusCode() == 200) { - $this->response->setBody('', false); - } + $this->response->setBody('', false); } /**