Home > tough-cookie > CreateCookieJarOptions
Configuration settings to be used with a CookieJar.
Signature:
interface CreateCookieJarOptions |
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
boolean | undefined |
(Optional) Flag to indicate if localhost and loopback addresses with an unsecure scheme should store and retrieve If If | ||
|
boolean | undefined |
(Optional) Accepts special-use domains such as Defaults to | ||
|
boolean | undefined |
(Optional) Accept malformed cookies like Defaults to | ||
|
'strict' | 'silent' | 'unsafe-disabled' | undefined |
(Optional) Controls how cookie prefixes are handled. See PrefixSecurityEnum. Defaults to | ||
|
boolean | undefined |
(Optional) Reject cookies that match those defined in the Public Suffix List (e.g.; domains like "com" and "co.uk"). Defaults to |