Forum und email

HttpResponse::getContentType

(PECL pecl_http:0.10.0-1.5.5)

HttpResponse::getContentType — content type を取得する

説明

static string HttpResponse::getContentType ( void )

現在の Content-Type ヘッダの設定を取得します。

返り値

現在設定されている content type を文字列で返します。