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.
Précédent | Sommaire | Suivant |
HTTP_Download::setThrottleDelay() | Niveau supérieur | HTTP_Download::setLastModified() |