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

Commit

Permalink
Use HTTP specified "\r\n"
Browse files Browse the repository at this point in the history
- instead of PHP_EOL
  • Loading branch information
weierophinney committed Jan 3, 2012
1 parent d9af161 commit a462b9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ public function isSuccess()
*/
public function toString()
{
$str = $this->renderStatusLine() . PHP_EOL;
$str = $this->renderStatusLine() . "\r\n";
$str .= $this->headers()->toString();
$str .= "\r\n";
$str .= $this->getBody();
Expand Down

0 comments on commit a462b9f

Please # to comment.