WebKitWebProcessExtension.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 WebKitWebProcessExtension.URIRequest(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Represents a URI request.
A
WebKitWebProcessExtension.URIRequest
can be created with a URI using theWebKitWebProcessExtension.URIRequest.new
() method, and you can get the URI of an existing request with theWebKitWebProcessExtension.URIRequest.get_uri
() one.- classmethod new(uri)¶
- Parameters:
uri (
str
) – an URI- Returns:
- Return type:
Creates a new
WebKitWebProcessExtension.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
WebKitWebProcessExtension.URIRequest
as aSoup.MessageHeaders
.
- get_http_method()¶
- Returns:
the HTTP method of the
WebKitWebProcessExtension.URIRequest
orNone
if self is not an HTTP request.- Return type:
Get the HTTP method of the
WebKitWebProcessExtension.URIRequest
.New in version 2.12.