mixed HTTP_Download::setContentType (string [$content_type = 'application/x-octetstream'])
mixed HTTP_Download::setContentType
Set a reasonable content type for the download.
Examples:
application/pdf
application/zip
text/css
Returns PEAR_Error if $content_type doesn't seem to be valid.
string [$content_type = 'application/x-octetstream'] - a reasonable content type
Retourne TRUE en cas de succès, un objet PEAR_Error en cas d'échec.
Cette fonction ne peut pas être appelée de façon statique.