Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'patch-2' of https://github.com/feskehau/zf2 into hotfix…
Browse files Browse the repository at this point in the history
…/http-response-redundancy
  • Loading branch information
weierophinney committed Jan 3, 2012
2 parents a462b9f + 3464bc2 commit d355d29
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/PhpEnvironment/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ public function sendHeaders()
return;
}

$version = $this->getVersion();
$code = $this->getStatusCode();
$message = $this->getReasonPhrase();
$status = sprintf('HTTP/%s %d %s', $version, $code, $message);
$status = $this->renderStatusLine();
header($status);

foreach ($this->headers() as $header) {
Expand Down

0 comments on commit d355d29

Please # to comment.