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.

Ack,

I've made it case-insensitive by adding a GTree with header names that
uses g_ascii_strcasecmp internally for matching headernames.



-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl

Reply via email to