with the cookies in the jar that would be sent with a request to uri.
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
uri | a #GUri |
topLevel | a #GUri for the top level document |
siteForCookies | a #GUri indicating the origin to get cookies for |
forHttp | whether or not the return value is being passed directly to an HTTP operation |
isSafeMethod | if the HTTP method is safe, as defined by RFC 7231, ignored when for_http is false |
isTopLevelNavigation | whether or not the HTTP request is part of top level navigation |
Returns
a #GSList