mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
No need to check validity here any more.
This commit is contained in:
parent
51da5e4c50
commit
f5bc5032dd
1 changed files with 0 additions and 3 deletions
|
|
@ -95,9 +95,6 @@ class HTTP::CookieJar
|
|||
if uri
|
||||
uri = URI(uri)
|
||||
return self unless URI::HTTP === uri && uri.host
|
||||
block = proc { |cookie|
|
||||
yield cookie if cookie.valid_for_uri?(uri)
|
||||
}
|
||||
end
|
||||
|
||||
@store.each(uri, &block)
|
||||
|
|
|
|||
Loading…
Reference in a new issue