2009/4/2 Michael Neumann <mneumann / ntecs.de>:
> FROM = 'From'.freeze
> RECORD_ROUTE = 'Record-Route'.freeze
>
> KNOWN_HEADERS = {
>  FROM => FROM,
>  RECORD_ROUTE => RECORD_ROUTE
> }
>
> headers = {}
> for key, value in h
>  headers[ KNOWN_HEADERS[key] || key ] = value
> end

This seems a wonderful solution :)

Thanks a lot.


-- 
Iaki Baz Castillo
<ibc / aliax.net>