Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

deflater.rb - Make gzip's mtime parameter mandatory

  • Loading branch information...
commit fd8b4362bdef4aba74c2fb304eec8819466413ed 1 parent 7f19d79
@qerub qerub authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rack/deflater.rb
View
2  lib/rack/deflater.rb
@@ -29,7 +29,7 @@ def call(env)
end
end
- def self.gzip(body, mtime = Time.now)
+ def self.gzip(body, mtime)
io = StringIO.new
gzip = Zlib::GzipWriter.new(io)
gzip.mtime = mtime
Please sign in to comment.
Something went wrong with that request. Please try again.