
rob.kinyonatgmail.com
Jul 21, 2005, 4:27 PM
Post #4 of 4
(1254 views)
Permalink
|
On 7/15/05, Andy Grundman <andy [at] hybridized> wrote: > Matthias Waldorf wrote: > > I had problems installing File::MimeInfo::Magic on win32 so I would > > suggest using LWP::MediaTypes instead: > > I agree that there needs to be a better solution than using > File::MimeInfo, but LWP::MediaTypes seems a bit sparse on the types it > recognizes. For example, I don't even see text/css in the media.types > file. Firefox will not render a page properly if you don't send your > css files as text/css, and I know this has caused problems for many > people, since text/css was missing in older versions of shared-mime-info > too. What about using File::MimeInfo if it's available, otherwise dropping into LWP::MediaTypes if it's not and adding the necessary items? Rob
|