mimeTheMIMETypeOfExtension |
Type | function |
Dictionary | library.mime |
Library | MIME Library |
Syntax | mimeTheMIMETypeOfExtension(<pExtension>)
|
Associations | com.livecode.library.mime |
Summary | Determine the MIME type for a file extension
|
Parameters | Name | Type | Description |
---|
pExtension | | A file extension
|
|
Example | put "Content-Type:" && mimeTheMIMETypeOfExtension("xls") & crlf after tHeaders
|
Values | Name | Type | Description |
---|
return | | A mime type for the given file extension.
|
|
Description | The mime types listed are the default mime types in an Apache web server installation
for a given file extension. If the file extension is not found then application/octet-stream
will be returned.
|