mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
Update a comment.
This commit is contained in:
parent
90e19a2ac0
commit
1dd16745e3
1 changed files with 3 additions and 1 deletions
|
|
@ -288,7 +288,9 @@ class HTTP::Cookie
|
||||||
case aname
|
case aname
|
||||||
when 'domain'
|
when 'domain'
|
||||||
cookie.for_domain = true
|
cookie.for_domain = true
|
||||||
cookie.domain = avalue # This may negate @for_domain
|
# The following may negate @for_domain if the value is
|
||||||
|
# an eTLD or IP address, hence this order.
|
||||||
|
cookie.domain = avalue
|
||||||
when 'path'
|
when 'path'
|
||||||
cookie.path = avalue
|
cookie.path = avalue
|
||||||
when 'expires'
|
when 'expires'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue