Module httplib :: Class HTTP
[show private | hide private]
[frames | no frames]

Class HTTP

Known Subclasses:
GSIHTTP

Compatibility class with httplib.py from 1.5.
Method Summary
  __init__(self, host, port, strict)
Provide a default host, since the superclass requires one.
  close(self)
  connect(self, host, port)
Accept arguments to set the host/port, since the superclass doesn't.
  getfile(self)
Provide a getfile, since the superclass' does not use this concept.
  getreply(self)
Compat definition since superclass does not define it.
  putheader(self, header, *values)
The superclass allows only one value argument.

Class Variable Summary
classobj _connection_class = httplib.HTTPConnection
int debuglevel = 0                                                                     

Method Details

__init__(self, host='', port=None, strict=None)
(Constructor)

Provide a default host, since the superclass requires one.

connect(self, host=None, port=None)

Accept arguments to set the host/port, since the superclass doesn't.

getfile(self)

Provide a getfile, since the superclass' does not use this concept.

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

putheader(self, header, *values)

The superclass allows only one value argument.

Class Variable Details

debuglevel

Type:
int
Value:
0                                                                     

Generated by Epydoc 2.1 on Tue Apr 4 14:32:52 2006 http://epydoc.sf.net