On Mon, 31 May 2004 19:58:10 GMT, rumours say that Ryan Paul
<se*******@sbcglobal.net> might have written:
is there any way to determine the mimetype of a file using ruby?
[snip]=P just realized I sent this to the wrong list. as long as I'm here... how
is it done in python?
The mimetypes.py module in the standard library is your friend.
--
TZOTZIOY, I speak England very best,
"I have a cunning plan, m'lord" --Sean Bean as Odysseus/Ulysses