[ Version ( since = "2.70" ) ]
public SList<Cookie> get_cookie_list_with_same_site_info (URI uri, URI? top_level, URI? site_for_cookies, bool for_http, bool is_safe_method, bool is_top_level_navigation)
This is an extended version of get_cookie_list that provides more information required to use SameSite cookies.
See the [SameSite cookies spec](https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00) for more detailed information.
this | |
uri |
a URI |
top_level |
a URI for the top level document |
site_for_cookies |
a URI indicating the origin to get cookies for |
for_http |
whether or not the return value is being passed directly to an HTTP operation |
is_safe_method |
if the HTTP method is safe, as defined by RFC 7231, ignored when |
is_top_level_navigation |
whether or not the HTTP request is part of top level navigation |
a SList with the cookies in the this that would be sent with a request
to |