e f@sIdZdgZddlmZddlmZGdddeZdS)z5Class representing application/* type MIME documents.MIMEApplication)encoders)MIMENonMultipartc@s+eZdZdZdejddZdS)rz2Class for generating application/* MIME documents.z octet-streamcKsL|dkrtdntj|d|||j|||dS)aCreate an application/* type MIME document. _data is a string containing the raw application 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. Nz Invalid application MIME subtypeZ application) TypeErrorr__init__Z set_payload)self_dataZ_subtypeZ_encoderZ_paramsr ;/opt/alt/python34/lib64/python3.4/email/mime/application.pyrs   zMIMEApplication.__init__N)__name__ __module__ __qualname____doc__rZ encode_base64rr r r r r s N)r__all__ZemailrZemail.mime.nonmultipartrrr r r r s