Skip to content

Commit

Permalink
Merge pull request #5 from yoh/patch-1
Browse files Browse the repository at this point in the history
fix HTTP-version case-sensitivity on Response.php
amirfaramarzi authored Oct 27, 2022

Verified

This commit was signed with the committer’s verified signature.
jsternberg Jonathan A. Sternberg
2 parents 76ead09 + 79fea20 commit f8c2a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Response/Response.php
Original file line number Diff line number Diff line change
@@ -154,7 +154,7 @@ public function rawBody(): string

public function __toString()
{
$head = "Http/1.1 $this->status {$this->phrases[$this->status]}\r\n";
$head = "HTTP/1.1 $this->status {$this->phrases[$this->status]}\r\n";

foreach ($this->headers as $name => $value) {
if (\is_array($value)) {

0 comments on commit f8c2a6c

Please sign in to comment.