CookieJar.getCookieListWithSameSiteInfo

soup.cookie.Cookie[] getCookieListWithSameSiteInfo(glib.uri.Uri uri, glib.uri.Uri topLevel, glib.uri.Uri siteForCookies, bool forHttp, bool isSafeMethod, bool isTopLevelNavigation)

This is an extended version of [soup.cookie_jar.CookieJar.getCookieList] that provides more information required to use SameSite cookies.

See the SameSite cookies spec for more detailed information.

Parameters

uria #GUri
topLevela #GUri for the top level document
siteForCookiesa #GUri indicating the origin to get cookies for
forHttpwhether or not the return value is being passed directly to an HTTP operation
isSafeMethodif the HTTP method is safe, as defined by RFC 7231, ignored when for_http is false
isTopLevelNavigationwhether or not the HTTP request is part of top level navigation

Returns

a #GSList

with the cookies in the jar that would be sent with a request to uri.