Skip to content

Commit

Permalink
Extra header.
Browse files Browse the repository at this point in the history
  • Loading branch information
lotharthesavior committed Oct 11, 2024
1 parent 0b74464 commit bf34818
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/Services/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ private function parseHeadersAndBody(): void
$this->addNormalizedHeader($headerKey, $headerValue);
}

$this->addRawHeader('X-Jacked-Server', 'Everything is worth it if the soul is not small.');

$this->body = implode(PHP_EOL, array_slice($lines, $offset + 2));
}

Expand Down
2 changes: 0 additions & 2 deletions src/Services/Traits/HttpSupport.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
use JackedPhp\JackedServer\Services\Response as JackedResponse;
use Monolog\Level;
use OpenSwoole\Http\Request;
use OpenSwoole\Coroutine\Http\Client as CoroutineHttpClient;
use OpenSwoole\Http\Response;
use Symfony\Component\Console\Style\OutputStyle;

trait HttpSupport
{
Expand Down

0 comments on commit bf34818

Please sign in to comment.