summaryrefslogtreecommitdiffstats
path: root/Lib/urllib/request.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/urllib/request.py')
-rw-r--r--Lib/urllib/request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urllib/request.py b/Lib/urllib/request.py
index a88bc99..4436105 100644
--- a/Lib/urllib/request.py
+++ b/Lib/urllib/request.py
@@ -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():