docs: clarify cookie domain normalization (#17590)
This commit is contained in:
parent
d50e8a5c4c
commit
d412582f72
2 changed files with 3 additions and 3 deletions
|
@ -107,7 +107,7 @@ with `callback(error, cookies)` on complete.
|
|||
* `url` String - The url to associate the cookie with.
|
||||
* `name` String (optional) - The name of the cookie. Empty by default if omitted.
|
||||
* `value` String (optional) - The value of the cookie. Empty by default if omitted.
|
||||
* `domain` String (optional) - The domain of the cookie. Empty by default if omitted.
|
||||
* `domain` String (optional) - The domain of the cookie; this will be normalized with a preceding dot so that it's also valid for subdomains. Empty by default if omitted.
|
||||
* `path` String (optional) - The path of the cookie. Empty by default if omitted.
|
||||
* `secure` Boolean (optional) - Whether the cookie should be marked as Secure. Defaults to
|
||||
false.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue