]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Special/HTTPException.php
Remove DI dependency from Module\Contact\Profile
[friendica.git] / src / Module / Special / HTTPException.php
index 8a8cc30ebb99dcd7ae98acaf8e97699164240aa8..2cac142fca80e731f39ee2a499ba41d3b8acee5b 100644 (file)
@@ -126,8 +126,6 @@ class HTTPException
         */
        public function content(\Friendica\Network\HTTPException $e): string
        {
-               header($this->server['SERVER_PROTOCOL'] ?? 'HTTP/1.0' . ' ' . $e->getCode() . ' ' . $e->getDescription());
-
                if ($e->getCode() >= 400) {
                        $this->logger->debug('Exit with error',
                                [