Event Timeline
Comment Actions
Just nitpicking, pop() is returning the value that of course you don't need, for how the HeaderKeyDict is implemented.
There is a __delitem__ implemented that you could use with del self.headers['Content-Type'] if I'm not mistaken.