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
be case-insensitive
(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?

--
Jarek Zgoda
http://jpa.berlios.de/

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to