Tk Library Source Code

View Ticket
Login
Ticket UUID: 1610665
Title: No constant header tokens in ::mime::getheader
Type: Bug Version: None
Submitter: martinlemburg Created on: 2006-12-07 09:33:26
Subsystem: mime Assigned To: mrose
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2013-07-04 17:25:32
Resolution: Not Applicable Here Closed By:
    Closed on:
Description:
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