getContentTypeMatchInHeader() getContentTypeMatchInHeader(string $header) : string|null Parameters string $header Returns string|null
fetchContentType() fetchContentType(array $headers) : boolean Parameters array $headers HTTP Response Headers Returns boolean — Whether the Content-Type header was found or not