diff options
Diffstat (limited to 'extras/try_gzip_static.rb')
-rw-r--r-- | extras/try_gzip_static.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/try_gzip_static.rb b/extras/try_gzip_static.rb index e3010f1..57b899f 100644 --- a/extras/try_gzip_static.rb +++ b/extras/try_gzip_static.rb @@ -12,9 +12,9 @@ class TryGzipStatic # attr_writer :sf_range # only used if the server does not handle #to_path, - # yahns should never hit this + # we actually hit this if serving the gzipped file in the first place, + # _and_ Rack::Deflater is used in the middleware stack. Oh well... def each - raise "we should never get here in yahns" buf = "" rsize = 8192 if @sf_range |