From fd50f0aadf3e81fd336c0ddaf0b4058650ac7ad1 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Fri, 18 Nov 2016 11:00:00 -0400 Subject: [PATCH] Fix inverted condition. --- src/Network/Response.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Network/Response.php b/src/Network/Response.php index bba8d1e4354..81f123ba4db 100644 --- a/src/Network/Response.php +++ b/src/Network/Response.php @@ -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(); }