PHP 5.4.31 Released

HttpResponse::getContentType

(PECL pecl_http >= 0.10.0)

HttpResponse::getContentTypeGet content type

Description

static string HttpResponse::getContentType ( void )

Get current Content-Type header setting.

Return Values

Returns the currently set content type as string.

See Also

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top