mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix some mistakes- Issue3243 (r87399) Correcting the operator precendence
problem with Content-Length header and uncommenting the test.
This commit is contained in:
parent
c44befb82e
commit
1e991f2de5
3 changed files with 2 additions and 4 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue