App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
httplib.HTTP Class Reference
Inheritance diagram for httplib.HTTP:
httplib.HTTPS httplib.HTTPS

Public Member Functions

def __init__
 
def connect
 
def getfile
 
def putheader
 
def getreply
 
def close
 
def __init__
 
def connect
 
def getfile
 
def getreply
 
def close
 

Public Attributes

 send
 
 putrequest
 
 endheaders
 
 set_debuglevel
 
 file
 hmm. More...
 
 headers
 
 putheader
 

Static Public Attributes

int debuglevel = 0
 

Member Function Documentation

def httplib.HTTP.getreply (   self,
  buffering = False 
)
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
def httplib.HTTP.getreply (   self,
  buffering = False 
)
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

Member Data Documentation

httplib.HTTP.file

hmm.

messy. if status==-1, then self.file is owned by us. well... we aren't explicitly closing, but losing this ref will do it

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


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