It derives from <GObject>.
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.
The expected content length of the response.
Its value is an unsigned 64-bit integer.
It is read only.
The HTTP headers of the response, or #f if the response is not an
HTTP response.
Its value is a <SoupMessageHeaders>,
or #f.
It is read only.
The MIME type of the response.
Its value is a string, or #f.
It is read only.
The status code of the response as returned by the server.
Its value is an unsigned 32-bit integer.
It is read only.
The suggested filename for the URI response.
Its value is a string, or #f.
It is read only.
The URI for which the response was made.
Its value is a string, or #f.
It is read only.
Get the expected content length of the
<WebKitURIResponse>.
It can be 0 if the server provided an incorrect or missing Content-Length.
Passed: a <WebKitURIResponse>.
Returned: an unsigned 64-bit integer.
the expected content length of self.
Get the HTTP headers of a <WebKitURIResponse>
as a <SoupMessageHeaders>.
Passed: a <WebKitURIResponse>.
Returned: a <SoupMessageHeaders>.
a <SoupMessageHeaders> with the HTTP
headers of self or #f if self is not an HTTP
response.
Gets the MIME type of the response.
Passed: a <WebKitURIResponse>.
Returned: a string.
MIME type, as a string.
Get the status code of the
<WebKitURIResponse>.
Get the status code of the <WebKitURIResponse>
as returned by the server. It will normally be a
SoupKnownStatusCode, for example ok,
though the server can respond with any unsigned integer.
Passed: a <WebKitURIResponse>.
Returned: an unsigned 32-bit integer.
the status code of self
Get the suggested filename for self.
Get the suggested filename for self, as specified by the
’Content-Disposition’ HTTP header, or #f if it’s not present.
Passed: a <WebKitURIResponse>.
Returned: a string.
the suggested filename or #f if the ’Content-Disposition’ HTTP
header is not present.
Gets the URI which resulted in the response.
Passed: a <WebKitURIResponse>.
Returned: a string.
response URI, as a string.