Fix some mistakes- Issue3243 (r87399) Correcting the operator precendence

problem with Content-Length header and uncommenting the test.
This commit is contained in:
Senthil Kumaran 2010-12-24 04:03:59 +00:00
parent c44befb82e
commit 1e991f2de5
3 changed files with 2 additions and 4 deletions

View file

@ -1062,7 +1062,7 @@ class AbstractHTTPHandler(BaseHandler):
data))
else:
request.add_unredirected_header(
'Content-length', '%d' % len(mv) * mv.itemsize)
'Content-length', '%d' % (len(mv) * mv.itemsize))
sel_host = host
if request.has_proxy():