Don't know of a Tcl package, but you might try the xdg-mime utility on most Linux / UNIX distros.
On May 15, 2013, at 12:29 PM, Massimo Manghi <massimo.man...@unipr.it> wrote: > I'm distributing some Powerpoint files along with other binary (images) > files. I wish to determine the correct mimetype and set the Content-Type > headers accordingly. Tcllib's ::fileutils::mimetype doesn't know anything > about MS Office documents and returns an emtpy string (not even a generic > 'application/octet-stream'). Is there some wider mimetype library available > for Tcl to prevent me from using the file extension? :-<<< > > -- Massimo > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org > For additional commands, e-mail: rivet-dev-h...@tcl.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org For additional commands, e-mail: rivet-dev-h...@tcl.apache.org