lib/httpx/plugins/response_cache/store.rb in httpx-0.19.8 vs lib/httpx/plugins/response_cache/store.rb in httpx-0.20.0

- old
+ new

@@ -35,9 +35,10 @@ if (vary = cached_response.headers["vary"]) if vary == "*" return unless request.headers.same_headers?(original_request.headers) else return unless vary.split(/ *, */).all? do |cache_field| + cache_field.downcase! !original_request.headers.key?(cache_field) || request.headers[cache_field] == original_request.headers[cache_field] end end end