[issue25539] python3 fail on parsing http header

Shin Dong-won report at bugs.python.org
Tue Nov 3 06:54:33 EST 2015


Shin Dong-won added the comment:

I found that Python3 no more uses header format from rfc822, and the data
b'P3P : CP="ALL CURa ADMa DEVa TAIa OUR BUS IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC OTC"\r\n'
not match with `headerRE = re.compile(r'^(From |[\041-\071\073-\176]*:|[\t ])')` so it makes problem.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25539>
_______________________________________


More information about the Python-bugs-list mailing list