|From: Jeff Watkins <firstname.lastname@example.org>|
|Date: 17 Sep 2007 12:07:19 Hong Kong Time|
I apologise if this has already been covered long ago, but my google- fu just wasn't up to the task of ferretting out the answer. How can I make the properties of an object case insensitive? I'm trying to mimic the headers from HTTP where content-type is equivalent to CONTENT-TYPE. So far, I've implemented my own enumerate and resolve methods, which create uppercase versions of the properties. Presumably I should also implement getProperty. Or is there a simpler way?