diff --git a/HttpServer/Http/HttpHeaders.php b/HttpServer/Http/HttpHeaders.php index a7176122..5e24d945 100644 --- a/HttpServer/Http/HttpHeaders.php +++ b/HttpServer/Http/HttpHeaders.php @@ -62,7 +62,7 @@ class HttpHeaders */ public function getContentType(): string { - return $this->_headers['content-type']; + return $this->_headers['content-type'] ?? ''; }