FROM : Jim Puls
DATE : Sat Jan 19 02:28:17 2008
On Jan 18, 2008, at 5:14 PM, Matthew Delves wrote:
> Hey folks,
> I'm wondering if anyone knows of any ways to calculate the MIME type
> of a URL (either a local file or out on the internet)?
Take a look at the Uniform Type Identifier system and its
documentation, <http://developer.apple.com/documentation/Carbon/Conceptual/understanding_utis/
>.
If you (simply) extract the extension from the end of a filename, you
can get its UTI and then turn that in to a MIME type.
-> jp
DATE : Sat Jan 19 02:28:17 2008
On Jan 18, 2008, at 5:14 PM, Matthew Delves wrote:
> Hey folks,
> I'm wondering if anyone knows of any ways to calculate the MIME type
> of a URL (either a local file or out on the internet)?
Take a look at the Uniform Type Identifier system and its
documentation, <http://developer.apple.com/documentation/Carbon/Conceptual/understanding_utis/
>.
If you (simply) extract the extension from the end of a filename, you
can get its UTI and then turn that in to a MIME type.
-> jp
| Related mails | Author | Date |
|---|---|---|
| Matthew Delves | Jan 19, 02:14 | |
| Jim Puls | Jan 19, 02:28 | |
| j o a r | Jan 19, 02:35 | |
| Matthew Delves | Jan 19, 07:36 | |
| j o a r | Jan 19, 07:54 |






Cocoa mail archive

