Class

WebKit2URIResponse

[]

Description [src]

class WebKit2.URIResponse : GObject.Object {
  parent: GObject,
  priv: WebKitURIResponsePrivate*
}

Represents an URI response.

A WebKitURIResponse contains information such as the URI, the status code, the content length, the mime type, the HTTP status or the suggested filename.

[]

Hierarchy

hierarchy this WebKitURIResponse ancestor_0 GObject ancestor_0--this
[]

Ancestors

[]

Instance methods

webkit_uri_response_get_content_length

Get the expected content length of the WebKitURIResponse.

webkit_uri_response_get_http_headers

Get the HTTP headers of a WebKitURIResponse as a SoupMessageHeaders.

Available since: 2.6

webkit_uri_response_get_mime_type

Gets the MIME type of the response.

webkit_uri_response_get_status_code

Get the status code of the WebKitURIResponse.

webkit_uri_response_get_suggested_filename

Get the suggested filename for response.

webkit_uri_response_get_uri

Gets the URI which resulted in the response.

Methods inherited from GObject (43)
[]

Properties

WebKit2.URIResponse:content-length

The expected content length of the response.

WebKit2.URIResponse:http-headers

The HTTP headers of the response, or NULL if the response is not an HTTP response.

Available since: 2.6

WebKit2.URIResponse:mime-type

The MIME type of the response.

WebKit2.URIResponse:status-code

The status code of the response as returned by the server.

WebKit2.URIResponse:suggested-filename

The suggested filename for the URI response.

WebKit2.URIResponse:uri

The URI for which the response was made.

[]

Signals

Signals inherited from GObject (1)

Class structure