|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
| def | __init__ (self, host, url, method="GET") |
| def | mapLogRecord (self, record) |
| def | emit (self, record) |
Public Attributes | |
| host | |
| url | |
| method | |
A class which sends records to a Web server, using either GET or POST semantics.
| def compat_logging.handlers.HTTPHandler.__init__ | ( | self, | |
| host, | |||
| url, | |||
method = "GET" |
|||
| ) |
Initialize the instance with the host, the request URL, and the method
("GET" or "POST")
| def compat_logging.handlers.HTTPHandler.emit | ( | self, | |
| record | |||
| ) |
Emit a record. Send the record to the Web server as an URL-encoded dictionary
| def compat_logging.handlers.HTTPHandler.mapLogRecord | ( | self, | |
| record | |||
| ) |
Default implementation of mapping the log record into a dict that is send as the CGI data. Overwrite in your class. Contributed by Franz Glasner.
| compat_logging.handlers.HTTPHandler.host |
| compat_logging.handlers.HTTPHandler.method |
| compat_logging.handlers.HTTPHandler.url |
1.8.13