Ian Bicking wrote: [...]
I think it's okay that __str__ and __getattr__ aren't entirely consistent -- certainly in this case __str__ can't enumerate all possible HTTP_* headers. It would be more concerning if the documentation for HTTPRequest weren't consistent with its behavior. But I've yet to find good, thorough documentation for these basic objects, and nothing that is thorough enough that it covers this kind of behavior (though I guess I stopped looking for good Zope documentation of this sort a while ago -- maybe it exists and I just haven't seen it) -- so in the absence of documentation there's no such thing as Right and Wrong, just Is and Is Not (I'm not sure whether to wink or panic in response to that).
I can live with this :-) (and a great community to back up!) Cheers, Fernando