mirror of
https://github.com/curl/curl.git
synced 2026-08-26 12:23:34 +03:00
cookies: Support multiple -b parameters
Previously only a single -b cookie parameter was supported with the last one winning. This adds support for supplying multiple -b params to have them serialized semicolon separated. Both cookiefiles and cookies can be entered multiple times. Closes #6649 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
This commit is contained in:
parent
1b2098c3c9
commit
82c583dcf0
7 changed files with 48 additions and 15 deletions
|
|
@ -31,7 +31,7 @@ name then both will be sent on a future transfer to that server, likely not
|
|||
what you intended. To address these issues set a domain in Set-Cookie (doing
|
||||
that will include sub domains) or use the Netscape format.
|
||||
|
||||
If this option is used several times, the last one will be used.
|
||||
This option can be used multiple times.
|
||||
|
||||
Users very often want to both read cookies from a file and write updated
|
||||
cookies back to a file, so using both --cookie and --cookie-jar in the same
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue