[Catalyst-dev] Patch for Catalyst-Plugin-Static-0.07

Rob Kinyon rob.kinyon at gmail.com
Thu Jul 21 16:29:41 CEST 2005


On 7/15/05, Andy Grundman <andy at hybridized.org> 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



More information about the Catalyst-dev mailing list