Re: Determining MIME types
Re: Determining MIME types
- Subject: Re: Determining MIME types
- From: Jim Puls <email@hidden>
- Date: Fri, 18 Jan 2008 17:28:17 -0800
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden