--- lib/HTML/Mason/ApacheHandler.pm.orig	2007-08-08 09:33:25.000000000 +0200
+++ lib/HTML/Mason/ApacheHandler.pm	2007-08-06 15:54:51.000000000 +0200
@@ -951,7 +951,7 @@
     my $is_dir = -d $r->filename;
 
     if ($is_dir && !$self->decline_dirs) {
-        $r->content_type('');
+        $r->content_type(undef);
     }
     return $is_dir ? 'dir' : -f _ ? 'file' : 'other';
 }