http_send_content_type

(PECL)

http_send_content_type -- Send Content-Type

Descrizione

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.

Elenco dei parametri

content_type

the desired content type (primary/secondary)

Valori restituiti

Restituisce TRUE in caso di successo, FALSE in caso di fallimento.