Skip to content

Commit

Permalink
Fixed bug where malformed headers were being sent (missing whitespace).
Browse files Browse the repository at this point in the history
  • Loading branch information
Marty Wallace committed Sep 30, 2014
1 parent 33d69b8 commit bd79d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/vendor/Tempest/Base/Tempest.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ private function finalize()
}

// Send the HTTP status, content-type and final output.
header($_SERVER["HTTP_PROTOCOL"] . "$this->status", true, $this->status);
header($_SERVER["HTTP_PROTOCOL"] . " $this->status", true, $this->status);
header("Content-Type: {$this->output->getMime()}; charset={$this->output->getCharset()}");

if($this->output !== null)
Expand Down

0 comments on commit bd79d16

Please sign in to comment.