Tryag File Manager
Home
-
Turbo Force
Current Path :
/
proc
/
self
/
root
/
proc
/
self
/
root
/
usr
/
lib
/
python2.4
/
email
/
Upload File :
New :
File
Dir
//proc/self/root/proc/self/root/usr/lib/python2.4/email/Header.pyo
mò ‚=5Dc @ sÿ d Z d k Z d k Z d k Z d k Z d k l Z d k l Z d Z d Z d Z d d Z d Z d Z e d ƒ Z e d ƒ Z e i d e i e i Bƒ Z e i d ƒ Z e i i Z d „ Z e e d d „ Z d f d „ ƒ YZ d „ Z d „ Z d S( s+ Header encoding and decoding functionality.N( s HeaderParseError( s Charsets t u i u iL s us-asciis utf-8si =\? # literal =? (?P<charset>[^?]*?) # non-greedy up to the next ? is the charset \? # literal ? (?P<encoding>[qb]) # either a "q" or a "b", case insensitive \? # literal ? (?P<encoded>.*?) # non-greedy up to the next ?= is the encoded string \?= # literal ?= s [\041-\176]+:$c C s? t | ƒ } t i | ƒ p | d f g Sn g } d } xÿ| i ƒ D]ñ} t i | ƒ p | i | d f ƒ qF n t i | ƒ } x¯| o§| i d ƒ i ƒ } | oW | o9 | d d d j o$ | d d t | d f | d <q| i | d f ƒ n | og } | d d !D] } | | i ƒ q~ \ } } | d } d } | d j o t i i | ƒ } nG | d j o9 y t i i | ƒ } Wq¶t i j o t ‚ q¶Xn | d j o | } n | o= | d d | j o( | d d | | d d f | d <q(| i | | f ƒ n | d d 5qˆ WqF W| S( sÒ Decode a message header value without converting charset. Returns a list of (decoded_string, charset) pairs containing each of the decoded parts of the header. Charset is None for non-encoded parts of the header, otherwise a lower-case string containing the name of the character set specified in the encoded string. An email.Errors.HeaderParseError may be raised when certain decoding error occurs (e.g. a base64 decoding exception). t i iÿÿÿÿi i t qt bi N( t strt headert ecret searcht Nonet decodedt dect splitlinest linet appendt splitt partst popt stript unenct SPACEt _[1]t st lowert charsett encodingt encodedt emailt quopriMIMEt header_decodet base64MIMEt decodet binasciit Errort HeaderParseError( R R R R R R R R R R R ( ( t"