We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7cda7e commit 8dc4595Copy full SHA for 8dc4595
actionpack/lib/action_dispatch/http/cache.rb
@@ -18,7 +18,7 @@ def if_none_match
18
end
19
20
def if_none_match_etags
21
- if_none_match ? if_none_match.split(/\s*,\s*/) : []
+ if_none_match ? if_none_match.split(",").each(&:strip!) : []
22
23
24
def not_modified?(modified_at)
0 commit comments