mirror of
https://github.com/friendica/friendica
synced 2025-04-22 01:50:11 +00:00
Fix OPTIONS
This commit is contained in:
parent
eaad220738
commit
c7f2ba213b
4 changed files with 9 additions and 6 deletions
|
@ -140,6 +140,6 @@ class Response implements ICanCreateResponses
|
|||
// Setting the response type as an X-header for direct usage
|
||||
$this->headers[static::X_HEADER] = $this->type;
|
||||
|
||||
return new \GuzzleHttp\Psr7\Response($this->status, $this->headers, $this->content, $this->reason);
|
||||
return new \GuzzleHttp\Psr7\Response($this->status, $this->headers, $this->content, '1.1', $this->reason);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue