diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-08-20 21:35:50 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-08-20 21:35:50 (GMT) |
commit | 41e36676cd820ece16b9f8db07be8d541f264116 (patch) | |
tree | 885325c7fb459ad982a9d2bb9a3b476c9d1f08fd /Lib | |
parent | 84c43ab556ea896b04cde4d5081ed96c5ff222ab (diff) | |
download | cpython-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.py | 4 |
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) |