lib/spidr/headers.rb in spidr-0.3.1 vs lib/spidr/headers.rb in spidr-0.3.2

- old
+ new

@@ -293,12 +293,12 @@ cookies.each do |cookie| cookie.split('; ').each do |key_value| key, value = key_value.split('=',2) - next if RESERVED_COOKIE_NAMES.include?(key) - - params[key] = (value || '') + unless RESERVED_COOKIE_NAMES.include?(key) + params[key] = (value || '') + end end end return params end