| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
unittest.TestCase --+
|
WebCase
|
|||
| HTTP_CONN | |||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
HOST =
|
|||
PORT = 8000
|
|||
PROTOCOL =
|
|||
scheme =
|
|||
url = None
|
|||
status = None
|
|||
headers = None
|
|||
body = None
|
|||
time = None
|
|||
interactive = True
|
|||
console_height = 30
|
|||
|
|||
| persistent | |||
|
Inherited from |
|||
|
|||
Make our HTTP_CONN persistent (or not). If the 'on' argument is True (the default), then self.HTTP_CONN will be set to an instance of httplib.HTTPConnection (or HTTPS if self.scheme is "https"). This will then persist across requests. We only allow for a single open connection, so if you call this and we currently have an open connection, it will be closed. |
Return an IP address for a client connection. If the server is listening on '0.0.0.0' (INADDR_ANY) or '::' (IN6ADDR_ANY), this will return the proper localhost. |
Open the url with debugging support. Return status, headers, body. |
|
|
|||
persistent
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Aug 15 15:33:03 2009 | http://epydoc.sourceforge.net |