Back to Seed Clases

Soup


Classes

Interfaces

Structs

Unions

Enums

Enum Soup.CookieJarAcceptPolicy

Import line: Soup = imports.gi.Soup;
GIR File: Soup-2.4.gir
C documentation: SoupCookieJarAcceptPolicy
Enum : CookieJarAcceptPolicy
  Show / Hide Inherited methods, properties and signals
the main document loaded in the application using libsoup. An http://www.example.com is the page loaded, accept all cookies set by example.com, but if a resource from http://www.third-party.com is loaded from that page reject any cookie that it could try to set. For libsoup to be able to tell apart first party cookies from the rest, the application must call soup_message_set_first_party() on each outgoing SoupMessage, setting the SoupURI of the main document. If no first party is set in a message when this policy is in effect, cookies will be assumed to be third party by default.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Soup.CookieJar
Property
accept_policy : Soup.CookieJarAcceptPolicy
Soup.CookieJar
Method
set_accept_policy (CookieJarAcceptPolicy policy) : none
Sets policy as the cookie acceptance policy for jar.
Soup.CookieJar
Method
get_accept_policy () : Soup.CookieJarAcceptPolicy
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:35:00 GMT+0800 (HKT)