webkit.uriresponse
Module for [URIResponse] class
Types 3
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.
Methods
URIResponseGidBuilder builder() static nothrowGet builder for [webkit.uriresponse.URIResponse] Returns: New builder objectulong contentLength() @property nothrowGet `contentLength` property. Returns: The expected content length of the response.soup.message_headers.MessageHeaders httpHeaders() @property nothrowGet `httpHeaders` property. Returns: The HTTP headers of the response, or null if the response is not an HTTP response.uint statusCode() @property nothrowGet `statusCode` property. Returns: The status code of the response as returned by the server.string suggestedFilename() @property nothrowGet `suggestedFilename` property. Returns: The suggested filename for the URI response.soup.message_headers.MessageHeaders getHttpHeaders() nothrowGet the HTTP headers of a #WebKitURIResponse as a #SoupMessageHeaders. Returns: a #SoupMessageHeaders with the HTTP headers of response or null if response is not an HTTP response.string getUri() nothrowGets the URI which resulted in the response. Returns: response URI, as a string.Fluent builder implementation template for webkit.uriresponse.URIResponse
Fluent builder for webkit.uriresponse.URIResponse
Methods