webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
compat_logging.handlers.HTTPHandler Class Reference
Inheritance diagram for compat_logging.handlers.HTTPHandler:

Public Member Functions

def __init__ (self, host, url, method="GET")
 
def mapLogRecord (self, record)
 
def emit (self, record)
 

Public Attributes

 host
 
 url
 
 method
 

Detailed Description

A class which sends records to a Web server, using either GET or
POST semantics.

Constructor & Destructor Documentation

◆ __init__()

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")

Member Function Documentation

◆ emit()

def compat_logging.handlers.HTTPHandler.emit (   self,
  record 
)
Emit a record.

Send the record to the Web server as an URL-encoded dictionary

◆ mapLogRecord()

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.

Member Data Documentation

◆ host

compat_logging.handlers.HTTPHandler.host

◆ method

compat_logging.handlers.HTTPHandler.method

◆ url

compat_logging.handlers.HTTPHandler.url

The documentation for this class was generated from the following file: