http_send_content_type

(PECL)

http_send_content_type -- Send Content-Type

Description

bool http_send_content_type ( [string content_type = 'application/x-octetstream'] )

Send the Content-Type of the sent entity. This is particularly important if you use the http_send() API.

Liste de paramètres

content_type

the desired content type (primary/secondary)

Valeurs de retour

Cette fonction retourne TRUE en cas de succès, FALSE en cas d'échec.