New submission from Андрей Р lans...@gmail.com:
Issue can be found only in 2.7, in 2.6.6 it works
System:
Linux strix 3.2.14-1-ARCH x86_64
Python information:
Python 2.7.2 (default, Jan 31 2012, 13:19:49) [GCC 4.6.2 20120120
(prerelease)] on linux2
Snippet to reproduce error:
# -*-
Андрей Р lans...@gmail.com added the comment:
# -*- encoding: utf-8 -*-
import urllib2
request = urllib2.Request('http://google.com', u'Контент'.encode(utf-8),
{'Content-Type': 'text/plain; charset=utf-8'})
urllib2.urlopen(request).read()
--
___
Changes by Андрей Р lans...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14560
___
___
Python-bugs-list
Андрей Р lans...@gmail.com added the comment:
Sorry. My fault
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14560
___
___
Python-bugs-list
Changes by Senthil Kumaran sent...@uthcode.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14560
___
___
Python-bugs-list