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