On Tue, 2006-06-06 at 03:04 -0700, Aaron Stone wrote: > On Tue, 2006-06-06 at 11:55 +0200, [EMAIL PROTECTED] wrote: > > > ---------------------------------------------------------------------- > > paul - 06-Jun-06 11:55 > > ---------------------------------------------------------------------- > > Aaron, > > > > why are you retrieving headers case-insensitive? This breaks gmime > > standard behaviour, and is not required afaict. > > Because the header name is coming from the user, and they might be > confused if "delivered-to:" doesn't match "Delivered-To:". The Sieve > RFC's don't mention case sensitivity at all, but the example are all > written with lowercase header names.
Spoke too soon; case insensitive is required -- RFC 3028, section 2.7: However, when a string represents the name of a header, the comparator is never user-specified. Header comparisons are always done with the "en;ascii-casemap" operator, i.e., case-insensitive comparisons, because this is the way things are defined in the message specification [IMAIL]. (IMAIL refers to RFC 2822.) Aaron
