http
PHP Manual

HttpResponse::getContentType

(PECL pecl_http:0.10.0-1.5.5)

HttpResponse::getContentType — Get content type

Descripción

static string HttpResponse::getContentType ( void )

Get current Content-Type header setting.

Valores retornados

Returns the currently set content type as string.

Ver también


http
PHP Manual