Skip to content

Instantly share code, notes, and snippets.

@nathanstanford2
Created December 18, 2012 16:14
Show Gist options
  • Save nathanstanford2/4329341 to your computer and use it in GitHub Desktop.
Save nathanstanford2/4329341 to your computer and use it in GitHub Desktop.
CFML: MimeType
<cfset content_type = getPageContext().getServletContext().getMimeType("<!--- Path to file here --->") />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment