downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

HttpResponse::setData> <HttpResponse::setContentDisposition
[edit] Last updated: Sat, 25 May 2013

view this page in

HttpResponse::setContentType

(PECL pecl_http >= 0.10.0)

HttpResponse::setContentTypeEstablecer la cabecera Content-Type

Descripción

static bool HttpResponse::setContentType ( string $content_type )

Establece la cabecera Content-Type.

Parámetros

content_type

tipo de contenido de la entidad enviada (en forma primario/secundario)

Valores devueltos

Devuelve TRUE en caso de éxito, o FALSE si el tipo de contenido no tuviera una parte primaria y otra secundaria.

Ver también



add a note add a note User Contributed Notes HttpResponse::setContentType - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites