Skip to content

Commit

Permalink
minor: avoid 'and' for consistency with rest of codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
rtomayko committed Sep 18, 2011
1 parent f949823 commit d771ded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rack/cache/context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def call!(env)

response =
if @request.get? || @request.head?
if !@env['HTTP_EXPECT'] and !@env['rack-cache.force-pass']
if !@env['HTTP_EXPECT'] && !@env['rack-cache.force-pass']
lookup
else
pass
Expand Down

0 comments on commit d771ded

Please sign in to comment.