Phillip J. Eby <p...@telecommunity.com> added the comment:

You say it "would" do this.  Have you actually *tested* it?

Looking at the code in wsgiref again, I don't think it does what you think it 
does.  The '_' substitution is done to keyword arguments for header 
*parameters* only; it's not done to header *names*.

Please write a test case for wsgiref.headers.Headers that demonstrates the 
behavior you think it would be doing.  AFAICT, you will not even be able to get 
the replace() calls to execute without writing explicit add_header() calls, and 
even then, you *still* won't get the results you're describing.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10751>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to