diff options
Diffstat (limited to 'extras/try_gzip_static.rb')
-rw-r--r-- | extras/try_gzip_static.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/try_gzip_static.rb b/extras/try_gzip_static.rb index efe47f9..5e6a4e7 100644 --- a/extras/try_gzip_static.rb +++ b/extras/try_gzip_static.rb @@ -91,7 +91,7 @@ class TryGzipStatic begin st = File.stat(path) st.file? ? [ path, st ] : r(404) - rescue Errno::ENOENT + rescue Errno::ENOENT, Errno::ENOTDIR r(404) rescue Errno::EACCES r(403) |