--- /dev/null
+--- maypole.orig/lib/Maypole.pm
++++ maypole/lib/Maypole.pm
+@@ -617,7 +617,7 @@
+ sub __get_mime_type {
+ my $self = shift;
+ my $type = 'text/html';
+- if ($self->path =~ m/.*\.(\w{3,4})$/) {
++ if ($self->path =~ m/.*\.(\w{2,4})$/) {
+ $type = $filetypes{$1};
+ } else {
+ my $output = $self->output;