Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed @min_length nil check.

  • Loading branch information...
commit f48a75abc11f28c3b843567af51bfcd2c8dc1526 1 parent badb506
@jakubpawlowicz authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/rack/deflater.rb
View
3  lib/rack/deflater.rb
@@ -123,8 +123,7 @@ def should_deflate?(env, status, headers, body)
end
# Skip if response body is too short
- if @min_length &&
- @min_length > headers['Content-Length'].to_i
+ if @min_length > headers['Content-Length'].to_i
return false
end
Please sign in to comment.
Something went wrong with that request. Please try again.