WQc@sIdZdgZddlmZddlmZdefdYZdS(s5Class representing application/* type MIME documents.tMIMEApplicationi(tencoders(tMIMENonMultipartcBs eZdZdejdZRS(s2Class for generating application/* MIME documents.s octet-streamcKsL|dkrtdntj|d|||j|||dS(sCreate 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. s Invalid application MIME subtypet applicationN(tNonet TypeErrorRt__init__t set_payload(tselft_datat_subtypet_encodert_params((s,/sys/lib/python2.7/email/mime/application.pyRs   (t__name__t __module__t__doc__Rt encode_base64R(((s,/sys/lib/python2.7/email/mime/application.pyR sN(Rt__all__temailRtemail.mime.nonmultipartRR(((s,/sys/lib/python2.7/email/mime/application.pyts