Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
41e36676
Commit
41e36676
authored
Aug 20, 2008
by
Amaury Forgeot d'Arc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#3614: Correct a typo in xmlrpc.client.
parent
84c43ab5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Lib/xmlrpc/client.py
Lib/xmlrpc/client.py
+2
-2
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/xmlrpc/client.py
View file @
41e36676
...
...
@@ -1203,7 +1203,7 @@ class Transport:
headers
=
{}
if
extra_headers
:
for
key
,
val
in
extra_headers
:
header
[
key
]
=
val
header
s
[
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
header
s
[
key
]
=
val
headers
[
"Content-Type"
]
=
"text/xml"
headers
[
"User-Agent"
]
=
self
.
user_agent
connection
.
request
(
"POST"
,
handler
,
request_body
,
headers
)
...
...
Misc/NEWS
View file @
41e36676
...
...
@@ -46,6 +46,9 @@ Core and Builtins
Library
-------
- Issue #3614: Corrected a typo in xmlrpc.client, leading to a NameError
"global name 'header' is not defined".
- Issue #2834: update the regular expression library to match the unicode
standards of py3k. In other words, mixing bytes and unicode strings
(be it as pattern, search string or replacement string) raises a TypeError.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment