Julien ÉLIE <jul...@trigofacile.com> added the comment:

OK, thanks.
By the way, why is the token stripped?
  token = token[len(h):].lstrip(" ")

"X-Header:   test  \r\n" in an header is kept in the overview as-is.
I do not see why "  test  " should not be the value returned.

Also, with:
  token = token or None

"X-Header: \r\n" becomes None if I understand how the source code works...  
Yet, it is a real '', not None.

----------

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

Reply via email to