The HttpResponse
PHP Manual

HttpResponse::getContentType

(PECL pecl_http >= 0.10.0)

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