More generally, headers["x"] contains whatever comes after the colon on a header line on the format
X: whatever
so in the case of Content-Transfer-Encoding, it contains the mechanism part.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-11-10 17:27: Subject: Re: Problem with MIME module
But in the Pike code of MIME.pmod we have:
if (headers["content-transfer-encoding"]) { array(string) arr=tokenize(headers["content-transfer-encoding"]); if (sizeof(arr)!=1 || !stringp(arr[0])) throw (({ "invalid Content-Transfer-Encoding in message\n", backtrace() })); transfer_encoding = lower_case(arr[0]); }
Ok I was wrong since headers["content-transfer-encoding"] contains the the real encoding like "8bit" or "base64". Anyway I don't know why but the MIME module fails on some Lotus mails.
/ David
/ Brevbäraren