This commit is contained in:
as2252258@163.com
2021-08-05 22:50:31 +08:00
parent 993815f327
commit 4ee97bc737
+1 -1
View File
@@ -62,7 +62,7 @@ class HttpHeaders
*/ */
public function getContentType(): string public function getContentType(): string
{ {
return $this->_headers['content-type']; return $this->_headers['content-type'] ?? '';
} }