mirror of
https://github.com/curl/curl.git
synced 2026-08-26 19:03:32 +03:00
- Niklas Angebrand made the cookie support in libcurl properly deal with the
"HttpOnly" feature introduced by Microsoft and apparently also supported by Firefox: http://msdn2.microsoft.com/en-us/library/ms533046.aspx . HttpOnly is now supported when received from servers in HTTP headers, when written to cookie jars and when read from existing cookie jars.
This commit is contained in:
parent
b620e62f0f
commit
a62e155ca4
6 changed files with 36 additions and 4 deletions
|
|
@ -50,6 +50,7 @@ struct Cookie {
|
|||
|
||||
bool secure; /* whether the 'secure' keyword was used */
|
||||
bool livecookie; /* updated from a server, not a stored file */
|
||||
bool httponly; /* true if the httponly directive is present */
|
||||
};
|
||||
|
||||
struct CookieInfo {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue