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

Commit

Permalink
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -490,9 +490,7 @@ public function renderRequestLine()
public function toString()
{
$str = $this->renderRequestLine() . "\r\n";
if ($this->headers) {
$str .= $this->headers->toString();
}
$str .= $this->getHeaders()->toString();
$str .= "\r\n";
$str .= $this->getContent();
return $str;
Expand Down

0 comments on commit 82ebaa6

Please # to comment.