http_send_content_type

(PECL)

http_send_content_type -- Send Content-Type

Beschreibung

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.

Parameter Liste

content_type

the desired content type (primary/secondary)

Rückgabewerte

Gibt bei Erfolg TRUE zurück, im Fehlerfall FALSE.