The HttpResponse
PHP Manual

HttpResponse::getContentType

(PECL pecl_http:0.10.0-1.5.5)

HttpResponse::getContentTypeGet content type

Описание

static string HttpResponse::getContentType ( void )

Get current Content-Type header setting.

Возвращаемые значения

Returns the currently set content type as string.

Смотрите также


The HttpResponse
PHP Manual