Menu

#871 No constant header tokens in ::mime::getheader

open
mime (58)
5
2006-12-07
2006-12-07
No

Hello,

working with several RFC822 compatible messages and the mime package from tcllib v1.9 I detected, that the tokens for the header parts are really those used in the header and so they are not constant, if ...

... one mailer uses e.g. Content-ID

... and ...

... the another mailer uses e.g. Content-Id

... than ::mime::getheader returns in the one case "Content-ID" and in the other case "Content-Id".

The ::mime::getheader command should return standardized constant tokens for each header value like in my example e.g. Content-ID.

Currently I have to test for different "styles" of header value names to guarantee, that I'm not missing a bit.

Best regards,

Martin Lemburg

Discussion