Permalink
Browse files

deflater.rb - Update TODOs

  • Loading branch information...
1 parent f3b542a commit 7f19d794a33bea1f31dbe285ef64d984cb780f22 @qerub qerub committed with Jul 5, 2008
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/rack/deflater.rb
View
2 lib/rack/deflater.rb
@@ -35,7 +35,6 @@ def self.gzip(body, mtime = Time.now)
gzip.mtime = mtime
# TODO: Add streaming
- # TODO: Consider all part types
body.each { |part| gzip << part }
gzip.close
@@ -55,7 +54,6 @@ def self.deflate(body)
deflater = Zlib::Deflate.new(*DEFLATE_ARGS)
# TODO: Add streaming
- # TODO: Consider all part types
body.each { |part| deflater << part }
return deflater.finish

0 comments on commit 7f19d79

Please sign in to comment.