Subject: | Switching to 0.09 over 0.07 broke our Smolder install |
I migrated an install of Smolder to a new box, and installed latest/greatest modules as part of it. When I did that, I found that I was getting incorrect Content-Type headers served up, as described in #91321.
My smoking gun was:
perl -MData::Dumper -MFile::LibMagic -e'$x=File::LibMagic->new->info_from_filename("/usr/local/share/perl5/auto/share/dist/Smolder/htdocs/style/style.css"); print Dumper $x;'
$VAR1 = {
'mime_with_encoding' => 'text/x-c; charset=us-ascii',
'description' => 'ASCII C program text',
'encoding' => 'us-ascii',
'mime_type' => 'text/x-c'
};
Reverting to version 0.07 of HTTP::Server::Simple::Static solved my problems.