Skip to content

Commit

Permalink
Fix inverted condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Nov 18, 2016
1 parent a7cf173 commit fd50f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Network/Response.php
Expand Up @@ -521,7 +521,7 @@ public function sendHeaders()
$this->_setCookies();
$this->_sendHeader("{$this->_protocol} {$this->_status} {$codeMessage}");

if (in_array($this->_status, [304, 204])) {
if (!in_array($this->_status, [304, 204])) {
$this->_setContentType();
}

Expand Down

0 comments on commit fd50f0a

Please sign in to comment.