Sets our main struct and passes it to the parent class.
Return the #WebKitURIRequest associated with the response decision. Modifications to the returned object are <emphasis>not</emphasis> taken into account when the request is sent over the network, and is intended only to aid in evaluating whether a response decision should be taken or not. To modify requests before they are sent over the network the #WebKitPage::send-request signal can be used instead.
Gets the value of the #WebKitResponsePolicyDecision:response property.
Get the main Gtk struct
the main Gtk struct as a void*
Gets whether the MIME type of the response can be displayed in the #WebKitWebView that triggered this policy decision request. See also webkit_web_view_can_show_mime_type().
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Spawn a download from this decision.
Ignore the action which triggered this decision. For instance, for a #WebKitResponsePolicyDecision, this would cancel the request.
Accept the action which triggered this decision.
Accept the navigation action which triggered this decision, and continue with @policies affecting all subsequent loads of resources in the origin associated with the accepted navigation action.
WebKitResponsePolicyDecision represents a policy decision for a resource response, whether from the network or the local system. A very common use case for these types of decision is deciding whether or not to download a particular resource or to load it normally.