mirror of
https://github.com/friendica/friendica
synced 2025-05-09 15:04:10 +02:00
Fix OPTIONS
This commit is contained in:
parent
eaad220738
commit
c7f2ba213b
4 changed files with 9 additions and 6 deletions
|
@ -32,6 +32,7 @@ use Friendica\Core\Hook;
|
|||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\Core\Theme;
|
||||
use Friendica\DI;
|
||||
use Friendica\Network\HTTPException;
|
||||
use Friendica\Util\Network;
|
||||
use Friendica\Util\Strings;
|
||||
|
@ -378,7 +379,7 @@ class Page implements ArrayAccess
|
|||
*/
|
||||
public function exit(ResponseInterface $response)
|
||||
{
|
||||
header(sprintf("HTTP/%s %i %s",
|
||||
header(sprintf("HTTP/%s %s %s",
|
||||
$response->getProtocolVersion(),
|
||||
$response->getStatusCode(),
|
||||
$response->getReasonPhrase())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue