summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-08-20 21:35:50 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-08-20 21:35:50 (GMT)
commit41e36676cd820ece16b9f8db07be8d541f264116 (patch)
tree885325c7fb459ad982a9d2bb9a3b476c9d1f08fd /Lib
parent84c43ab556ea896b04cde4d5081ed96c5ff222ab (diff)
downloadcpython-41e36676cd820ece16b9f8db07be8d541f264116.zip
cpython-41e36676cd820ece16b9f8db07be8d541f264116.tar.gz
cpython-41e36676cd820ece16b9f8db07be8d541f264116.tar.bz2
#3614: Correct a typo in xmlrpc.client.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/xmlrpc/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/xmlrpc/client.py b/Lib/xmlrpc/client.py
index 121fedf..d18efce 100644
--- a/Lib/xmlrpc/client.py
+++ b/Lib/xmlrpc/client.py
@@ -1203,7 +1203,7 @@ class Transport:
headers = {}
if extra_headers:
for key, val in extra_headers:
- header[key] = val
+ headers[key] = val
headers["Content-Type"] = "text/xml"
headers["User-Agent"] = self.user_agent
connection.request("POST", handler, request_body, headers)
@@ -1271,7 +1271,7 @@ class SafeTransport(Transport):
headers = {}
if extra_headers:
for key, val in extra_headers:
- header[key] = val
+ headers[key] = val
headers["Content-Type"] = "text/xml"
headers["User-Agent"] = self.user_agent
connection.request("POST", handler, request_body, headers)