| Trees | Index | Help |
|
|---|
| Module mimetools :: Class Message |
|
Message --+
|
Message
HTTPMessage| Method Summary | |
|---|---|
Initialize the class instance and read the headers. | |
Determine whether a message contains the named header. (inherited from Message)
| |
Delete all occurrences of a specific header, if it is present. (inherited from Message)
| |
Get a specific header, as from a dictionary. (inherited from Message)
| |
Get the number of headers in a message. (inherited from Message)
| |
Set the value of a header. (inherited from Message)
| |
__str__(self)
(inherited from Message)
| |
Get the header value for a name. (inherited from Message)
| |
Get a single address from a header, as a tuple. (inherited from Message)
| |
Get a list of addresses from a header. (inherited from Message)
| |
Find all header lines matching a given header name. (inherited from Message)
| |
Retrieve a date field from a header. (inherited from Message)
| |
Retrieve a date field from a header as a 10-tuple. (inherited from Message)
| |
getencoding(self)
| |
Get the first header line matching name. (inherited from Message)
| |
Get the header value for a name. (inherited from Message)
| |
Get all values for a header. (inherited from Message)
| |
getmaintype(self)
| |
getparam(self,
name)
| |
getparamnames(self)
| |
getplist(self)
| |
A higher-level interface to getfirstmatchingheader(). (inherited from Message)
| |
getsubtype(self)
| |
gettype(self)
| |
Determine whether a message contains the named header. (inherited from Message)
| |
Determine whether a line should be skipped entirely. (inherited from Message)
| |
Determine whether a given line is a legal header. (inherited from Message)
| |
Determine whether a line is a legal end of RFC 2822 headers. (inherited from Message)
| |
Get all of a message's headers. (inherited from Message)
| |
Get all of a message's header field names. (inherited from Message)
| |
parseplist(self)
| |
parsetype(self)
| |
Read header lines. (inherited from Message)
| |
Rewind the file to the start of the body (if seekable). (inherited from Message)
| |
setdefault(self,
name,
default)
(inherited from Message)
| |
Get all of a message's header field values. (inherited from Message)
| |
| Method Details |
|---|
__init__(self,
fp,
seekable=1)
Initialize the class instance and read the headers.
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 1.1 on Thu Oct 16 16:37:22 2003 | http://epydoc.sf.net |