WebKit.URIRequest¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class WebKit.URIRequest(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Represents a URI request.
A
WebKit.URIRequest
can be created with a URI using theWebKit.URIRequest.new
() method, and you can get the URI of an existing request with theWebKit.URIRequest.get_uri
() one.- classmethod new(uri)¶
- Parameters:
uri (
str
) – an URI- Returns:
a new
WebKit.URIRequest
- Return type:
Creates a new
WebKit.URIRequest
for the given URI.
- get_http_headers()¶
- Returns:
a
Soup.MessageHeaders
with the HTTP headers of self orNone
if self is not an HTTP request.- Return type:
Get the HTTP headers of a
WebKit.URIRequest
as aSoup.MessageHeaders
.
- get_http_method()¶
- Returns:
the HTTP method of the
WebKit.URIRequest
orNone
if self is not an HTTP request.- Return type:
Get the HTTP method of the
WebKit.URIRequest
.New in version 2.12.