[Twisted-web] Headers dictionary
jarek.zgoda at gmail.com
Wed Feb 21 07:13:20 CST 2007
Is it only me, or the field names in
twisted.web.http.Request.received_headers (also returned by
getAllHeaders()) are case-sensitive? The RFC states, that they should
(http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2), but if
I set "Accept" header in client code (such as using Python's own
httplib.HTTPConnection), there's no "accept" key in this dictionary,
as available in resource's render_XXX method.
Am I supposed to write my own HTTP compatibility layer for
twisted.web, or I just overlooked something obvious?
More information about the Twisted-web