HttpResponse
PHP Manual

HttpResponse::getContentType

(PECL pecl_http >= 0.10.0)

HttpResponse::getContentTypeGet content type

Opis

static string HttpResponse::getContentType ( void )

Get current Content-Type header setting.

Zwracane wartości

Returns the currently set content type as string.

Zobacz też:


HttpResponse
PHP Manual