mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
cookie order: do not rely on value
This commit is contained in:
parent
2510f5730a
commit
9c62f46189
@ -43,8 +43,7 @@ module HTTPX
|
||||
# Precedence: 1. longer path 2. older creation
|
||||
(@name <=> other.name).nonzero? ||
|
||||
(other.path.length <=> @path.length).nonzero? ||
|
||||
(@created_at <=> other.created_at).nonzero? ||
|
||||
@value <=> other.value
|
||||
(@created_at <=> other.created_at).nonzero?
|
||||
end
|
||||
|
||||
class << self
|
||||
|
Loading…
x
Reference in New Issue
Block a user