Peano
Loading...
Searching...
No Matches
TinyHTTPProxy.ProxyHandler Class Reference
Inheritance diagram for TinyHTTPProxy.ProxyHandler:
Collaboration diagram for TinyHTTPProxy.ProxyHandler:

Public Member Functions

 handle (self)
 
 do_CONNECT (self)
 
 do_GET (self)
 

Data Fields

 raw_requestline
 
 path
 
 command
 
 request_version
 

Static Public Attributes

str server_version = "TinyHTTPProxy/" + __version__
 
int rbufsize = 0
 
 do_HEAD = do_GET
 
 do_POST = do_GET
 
 do_PUT = do_GET
 
 do_DELETE = do_GET
 
 do_OPTIONS = do_GET
 

Protected Member Functions

 _connect_to (self, netloc, soc)
 
 _read_write (self, soc, max_idling=20)
 

Static Private Attributes

 __base = hserv.BaseHTTPRequestHandler
 
 __base_handle = __base.handle
 

Detailed Description

Definition at line 28 of file TinyHTTPProxy.py.

Member Function Documentation

◆ _connect_to()

TinyHTTPProxy.ProxyHandler._connect_to ( self,
netloc,
soc )
protected

Definition at line 43 of file TinyHTTPProxy.py.

Referenced by TinyHTTPProxy.ProxyHandler.do_GET().

Here is the caller graph for this function:

◆ _read_write()

TinyHTTPProxy.ProxyHandler._read_write ( self,
soc,
max_idling = 20 )
protected

Definition at line 102 of file TinyHTTPProxy.py.

References TinyHTTPProxy.print_word.

◆ do_CONNECT()

TinyHTTPProxy.ProxyHandler.do_CONNECT ( self)

Definition at line 60 of file TinyHTTPProxy.py.

◆ do_GET()

TinyHTTPProxy.ProxyHandler.do_GET ( self)

Definition at line 76 of file TinyHTTPProxy.py.

References TinyHTTPProxy._, TinyHTTPProxy.ProxyHandler._connect_to(), and TinyHTTPProxy.ProxyHandler.path.

Here is the call graph for this function:

◆ handle()

TinyHTTPProxy.ProxyHandler.handle ( self)

Definition at line 35 of file TinyHTTPProxy.py.

Field Documentation

◆ __base

TinyHTTPProxy.ProxyHandler.__base = hserv.BaseHTTPRequestHandler
staticprivate

Definition at line 29 of file TinyHTTPProxy.py.

◆ __base_handle

TinyHTTPProxy.ProxyHandler.__base_handle = __base.handle
staticprivate

Definition at line 30 of file TinyHTTPProxy.py.

◆ command

TinyHTTPProxy.ProxyHandler.command

Definition at line 87 of file TinyHTTPProxy.py.

◆ do_DELETE

TinyHTTPProxy.ProxyHandler.do_DELETE = do_GET
static

Definition at line 129 of file TinyHTTPProxy.py.

◆ do_HEAD

TinyHTTPProxy.ProxyHandler.do_HEAD = do_GET
static

Definition at line 126 of file TinyHTTPProxy.py.

◆ do_OPTIONS

TinyHTTPProxy.ProxyHandler.do_OPTIONS = do_GET
static

Definition at line 130 of file TinyHTTPProxy.py.

◆ do_POST

TinyHTTPProxy.ProxyHandler.do_POST = do_GET
static

Definition at line 127 of file TinyHTTPProxy.py.

◆ do_PUT

TinyHTTPProxy.ProxyHandler.do_PUT = do_GET
static

Definition at line 128 of file TinyHTTPProxy.py.

◆ path

TinyHTTPProxy.ProxyHandler.path

Definition at line 63 of file TinyHTTPProxy.py.

Referenced by TinyHTTPProxy.ProxyHandler.do_GET().

◆ raw_requestline

TinyHTTPProxy.ProxyHandler.raw_requestline

Definition at line 38 of file TinyHTTPProxy.py.

◆ rbufsize

int TinyHTTPProxy.ProxyHandler.rbufsize = 0
static

Definition at line 33 of file TinyHTTPProxy.py.

◆ request_version

TinyHTTPProxy.ProxyHandler.request_version

Definition at line 90 of file TinyHTTPProxy.py.

◆ server_version

str TinyHTTPProxy.ProxyHandler.server_version = "TinyHTTPProxy/" + __version__
static

Definition at line 32 of file TinyHTTPProxy.py.


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