any code for parsing the values of mail headers like Content-Disposition?
Skip Montanaro
skip at mojam.com
Fri Feb 18 15:15:48 EST 2000
Bill> Hi, folks. I'm looking for code to parse the value of headers
Bill> like Content-Disposition...
Bill,
Check out the mimetools module, particularly the Message class. You might
have to look at the code as opposed to just rely on the module
documentation. The parseplist method looks promising.
Skip Montanaro | http://www.mojam.com/
skip at mojam.com | http://www.musi-cal.com/
"Languages that change by catering to the tastes of non-users tend not to do
so well." - Doug Landauer
More information about the Python-list
mailing list