Devin Cook added the comment: The spec doesn't say anything about the header name. It probably should though, as the same issue exists there.
I used two searches because that's how it's done in wsgiref.validate, and it's not a huge deal to do that because the second one will only execute when there's an error. That said, I changed it to how you proposed. Here's another stab at that patch. ---------- Added file: http://bugs.python.org/file29238/header_newlines_tip.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11671> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com