http_send_content_type

(PECL)

http_send_content_type -- Send Content-Type

Leírás

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.

Paraméterek

content_type

the desired content type (primary/secondary)

Visszatérési értékek

Siker esetén TRUE értékkel tér vissza, ellenkező esetben FALSE értéket ad.