__init__(self,
_data,
_subtype=' octet-stream ' ,
_encoder=<function encode_base64 at 0x41486fb4>,
**_params)
(Constructor)
|
|
Create an application/* type MIME document.
_data is a string containing the raw applicatoin data.
_subtype is the MIME content type subtype, defaulting to
'octet-stream'.
_encoder is a function which will perform the actual encoding for
transport of the application data, defaulting to base64 encoding.
Any additional keyword arguments are passed to the base class
constructor, which turns them into parameters on the Content-Type
header.
- Overrides:
message.Message.__init__
|