Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Public Member Functions | |
def | __init__ |
def | connect |
def | getfile |
def | putheader |
def | getreply |
def | close |
Data Fields | |
send | |
putrequest | |
endheaders | |
set_debuglevel | |
file | |
hmm. More... | |
headers | |
Static Public Attributes | |
int | debuglevel = 0 |
Definition at line 692 of file httplib.py.
def __init__ | ( | self, | |
host = '' , |
|||
port = None |
|||
) |
Definition at line 702 of file httplib.py.
def close | ( | self) |
Definition at line 771 of file httplib.py.
def connect | ( | self, | |
host = None , |
|||
port = None |
|||
) |
Definition at line 728 of file httplib.py.
def getfile | ( | self) |
Definition at line 735 of file httplib.py.
def getreply | ( | self) |
Compat definition since superclass does not define it. Returns a tuple consisting of: - server status code (e.g. '200' if all goes well) - server "reason" corresponding to status code - any RFC822 headers in the response from the server
Definition at line 743 of file httplib.py.
def putheader | ( | self, | |
header, | |||
values | |||
) |
Definition at line 739 of file httplib.py.
|
static |
Definition at line 698 of file httplib.py.
endheaders |
Definition at line 720 of file httplib.py.
file |
hmm.
if getresponse() ever closes the socket on a bad request, then we are going to have problems with self.sock should we keep this behavior? do people use it? keep the socket open (as a file), and return it
messy. if status==-1, then self.file is owned by us. well... we aren't explicitly closing, but losing this ref will do it
Definition at line 726 of file httplib.py.
headers |
Definition at line 764 of file httplib.py.
putrequest |
Definition at line 719 of file httplib.py.
send |
Definition at line 718 of file httplib.py.
set_debuglevel |
Definition at line 721 of file httplib.py.