GIF89a; EcchiShell v1.0
//usr/lib64/lib64/lib64/lib64/python2.7/tctetsfp((s%/usr/lib64/python2.7/email/message.pyt get_payloads0           cCs)||_|dk r%|j|ndS(sSet the payload to the given value. Optional charset sets the message's default character set. See set_charset() for details. N(R(Rt set_charset(R.R>tcharset((s%/usr/lib64/python2.7/email/message.pyt set_payloads  cCs|dkr&|jdd|_dSt|trJtjj|}nt|tjjsnt|n||_d|kr|j ddnd|kr|j ddd|j n|j d|j t|j t r|j j|j|_ nt||j kr4|j|j |_ nd|kr|j}y||Wqtk r|j|j |_ |j d|qXndS(sSet the charset of the payload to a given character set. charset can be a Charset instance, a string naming a character set, or None. If it is a string it will be converted to a Charset instance. If charset is None, the charset parameter will be removed from the Content-Type field. Anything else will generate a TypeError. The message will be assumed to be of type text/* encoded with charset.input_charset. It will be converted to charset.output_charset and encoded properly, if needed, when generating the plain text representation of the message. MIME headers (MIME-Version, Content-Type, Content-Transfer-Encoding) will be added as needed. RRNs MIME-Versions1.0s Content-Types text/plainsContent-Transfer-Encoding(Rt del_paramR)Rt basestringtemailRRtCharsetREt add_headertget_output_charsett set_paramR(tunicodetencodetoutput_charsettstrt body_encodetget_body_encoding(R.RRRN((s%/usr/lib64/python2.7/email/message.pyRQs4         cCs|jS(sKReturn the Charset instance associated with the message's payload. (R)(R.((s%/usr/lib64/python2.7/email/message.pyt get_charsetscCs t|jS(s9Return the total number of headers, including duplicates.(RR&(R.((s%/usr/lib64/python2.7/email/message.pyt__len__scCs |j|S(s-Get a header value. Return None if the header is missing instead of raising an exception. Note that if the header appeared multiple times, exactly which occurrence gets returned is undefined. Use get_all() to get all the values matching a header field name. (RG(R.tname((s%/usr/lib64/python2.7/email/message.pyt __getitem__s cCs|jj||fdS(sSet the value of a header. Note: this does not overwrite an existing header with the same field name. Use __delitem__() first to delete any existing headers. N(R&R(R.Rctval((s%/usr/lib64/python2.7/email/message.pyt __setitem__(scCsa|j}g}x?|jD]4\}}|j|kr|j||fqqW||_dS(swDelete all occurrences of a header, if present. Does not raise an exception if the header is missing. N(RR&R(R.Rct newheaderstktv((s%/usr/lib64/python2.7/email/message.pyt __delitem__0s  cCs2|jg|jD]\}}|j^qkS(N(RR&(R.RcRhRi((s%/usr/lib64/python2.7/email/message.pyt __contains__<scCst}|j|||k S(s/Return true if the message contains the header.(tobjectRG(R.Rctmissing((s%/usr/lib64/python2.7/email/message.pythas_key?s cCs g|jD]\}}|^q S(s.Return a list of all the message's header field names. These will be sorted in the order they appeared in the original message, or were added to the message, and may contain duplicates. Any fields deleted and re-inserted are always appended to the header list. (R&(R.RhRi((s%/usr/lib64/python2.7/email/message.pytkeysDscCs g|jD]\}}|^q S(s)Return a list of all the message's header values. These will be sorted in the order they appeared in the original message, or were added to the message, and may contain duplicates. Any fields deleted and re-inserted are always appended to the header list. (R&(R.RhRi((s%/usr/lib64/python2.7/email/message.pytvaluesNscCs|jS(s'Get all the message's header fields and values. These will be sorted in the order they appeared in the original message, or were added to the message, and may contain duplicates. Any fields deleted and re-inserted are always appended to the header list. (R&(R.((s%/usr/lib64/python2.7/email/message.pytitemsXscCs@|j}x-|jD]"\}}|j|kr|SqW|S(s~Get a header value. Like __getitem__() but return failobj instead of None when the field is missing. (RR&(R.RctfailobjRhRi((s%/usr/lib64/python2.7/email/message.pyRGbs  cCs\g}|j}x9|jD].\}}|j|kr|j|qqW|sX|S|S(sQReturn a list of all the values for the named field. These will be sorted in the order they appeared in the original message, and may contain duplicates. Any fields deleted and re-inserted are always appended to the header list. If no such fields exist, failobj is returned (defaults to None). (RR&R(R.RcRrRpRhRi((s%/usr/lib64/python2.7/email/message.pytget_allrs  cKsg}xd|jD]V\}}|dkrG|j|jddq|jt|jdd|qW|dk r|jd|n|jj|tj|fdS(sExtended header setting. name is the header field to add. keyword arguments can be used to set additional parameters for the header field, with underscores converted to dashes. Normally the parameter will be added as key="value" unless value is None, in which case only the key will be added. If a parameter value contains non-ASCII characters it must be specified as a three-tuple of (charset, language, value), in which case it will be encoded according to RFC2231 rules. Example: msg.add_header('content-disposition', 'attachment', filename='bud.gif') t_t-iN( RqRRtreplaceRtinsertR&t SEMISPACEtjoin(R.t_namet_valuet_paramstpartsRhRi((s%/usr/lib64/python2.7/email/message.pyRXs & cCs}|j}xjttt|j|jD];\}\}}|j|kr.||f|j|Remove the given parameter completely from the Content-Type header. The header will be re-written in place without the parameter or its value. All values will be quoted as necessary unless requote is False. Optional header specifies an alternative to the Content-Type header. NR@RR$(RRRRxRyRG(R.RRRt new_ctypeRRi((s%/usr/lib64/python2.7/email/message.pyRTks % cCs|jddkstn|jdkrD|d=d|dt}|jd|}||kr+|Stj|jS(sReturn the boundary associated with the payload if present. The boundary is extracted from the Content-Type header's `boundary' parameter, and it is unquoted. tboundary(RlRRRtrstrip(R.RrRmR((s%/usr/lib64/python2.7/email/message.pyt get_boundarys   c Cst}|j|d}||kr9tjdng}t}xY|D]Q\}}|jdkr|jdd|ft}qL|j||fqLW|s|jdd|fng}x|jD]\} } | jdkr^g} xG|D]?\} } | dkr$| j| q| jd| | fqW|j| t j | fq|j| | fqW||_dS(sSet the boundary parameter in Content-Type to 'boundary'. This is subtly different than deleting the Content-Type header and adding a new one with a new boundary parameter via add_header(). The main difference is that using the set_boundary() method preserves the order of the Content-Type header in the original message. HeaderParseError is raised if the message has no Content-Type header. s content-typesNo Content-Type header foundRs"%s"R@s%s=%sN( RlRRtHeaderParseErrortFalseRRR2R&RxRy( R.RRmRt newparamstfoundptpktpvRgthRiR}Rh((s%/usr/lib64/python2.7/email/message.pyt set_boundarys0    cCst}|jd|}||kr+|St|tr|dpGd}y t|d|jd}Wqttfk r|d}qXny4t|trt|d}n|jd}Wntk r|SX|j S(sReturn the charset parameter of the Content-Type header. The returned string is always coerced to lower case. If there is no Content-Type header, or if that header has no charset parameter, failobj is returned. RRisus-asciii( RlRRRR[R\t LookupErrort UnicodeErrorR^R(R.RrRmRRtpcharset((s%/usr/lib64/python2.7/email/message.pytget_content_charsets"    cCs&g|jD]}|j|^q S(sReturn a list containing the charset(s) used in this message. The returned list of items describes the Content-Type headers' charset parameter for this message and all the subparts in its payload. Each item will either be a string (the value of the charset parameter in the Content-Type header of that part) or the value of the 'failobj' parameter (defaults to None), if the part does not have a main MIME type of "text", or the charset is not defined. The list will contain one string for each part of the message, plus one for the container message (i.e. self), so that a non-multipart message will still return a list of length 1. (twalkR(R.Rrtpart((s%/usr/lib64/python2.7/email/message.pyt get_charsets si(RN(0t__name__t __module__t__doc__R/R3RR1R;R<R=R?RRPRSRQRaRbRdRfRjRkRnRoRpRqRGRsRXRRRRRRRR2RRRZRTRRRRRRtemail.iteratorsR(((s%/usr/lib64/python2.7/email/message.pyR\sX      2 -            #/  -  ((Rt__all__treRLRJtwarningst cStringIORt email.charsetRVRRRxtcompileRR RR2RR#R%R(((s%/usr/lib64/python2.7/email/message.pyts