Martin Panter added the comment: Please review insensitive-lookup.patch:
* Adapt John’s patch to current code * Apply similar changes to Request.remove_header() * Expanded on case-insensitivity, previous capitalize() requirements, and header_items() casing in the documentation * Dropped testing of unredirected_hdrs and of headers being case-sensitive. I think these are implementation details, and are not part of the implicit API from before the has_header() etc methods. * Reverted unnecessary test removal in test case * Added What’s New entry ---------- stage: needs patch -> patch review versions: +Python 3.6 -Python 3.3 Added file: http://bugs.python.org/file40985/insensitive-lookup.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2275> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com