New submission from William Wu <willie...@gmail.com>:

I found this bug when I started to trying Python 3.2 release candidate 1.

When using urllib.request.urlopen to handle HTTP POST, I got the error message:

ValueError: Content-Length should be specified     for iterable data of type 
<class 'str'> 'foo=bar'

I'll attach the patch and test case.

----------
components: Library (Lib)
messages: 127646
nosy: William.Wu
priority: normal
severity: normal
status: open
title: ValueError: Content-Length should be specified
type: behavior
versions: Python 3.2

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

Reply via email to