Martin Panter added the comment:

There could be potential for breaking compatibility if people are intentionally 
sending values with folded lines (obsoleted by the new HTTP RFC).

Perhaps the same error should be raised for values that cannot be encoded in 
Latin-1? Also, maybe most control characters should trigger an error, not just 
CR and LF. Apart from line folding, the HTTP RFC only allows visible ASCII 
characters, spaces and tabs, and obsolete non-ASCII chars >= 0x80.

----------
nosy: +vadmium

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

Reply via email to