content_type from a local file?

read the following post:

http://www.railsweenie.com/users/2237/posts

contains information about using the mime-types plugin to determine
content_type outside of the CGI library

Mike