At 03:48 PM 9/23/2010 -0500, Ian Bicking wrote:
It only fixes the one case of non-Latin1 characters, there are still many other values you can put into a header (a newline or control character for instance), and innumerable header-specific issues. It seems to be adding complexity for one of the least problematic cases.
Ok, you found one that convinces me. ;-) "Headers are text, bodies are bytes" shall be the rule. I'll rewrite the "note about string types" and change the way I'm updating the spec accordingly.
_______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com