mirror of
https://github.com/python/cpython.git
synced 2025-09-14 04:37:29 +00:00
Fixes by John Reese and Jacques Frechet that make test_xmlrpc pass.
(Note that test_xmlrpc isn't touched by the fixes!) There were two separate issues; (a) BaseHTTPServer was using a TextIOWrapper which was swallowing some of the POST body; (b) the getheaders() API was changed but (due to integration of 2.6 code) the code wasn't modified.
This commit is contained in:
parent
2523621693
commit
cfe02a498b
2 changed files with 16 additions and 9 deletions
|
@ -1118,7 +1118,7 @@ class Transport:
|
|||
raise ProtocolError(
|
||||
host + handler,
|
||||
resp.status, resp.reason,
|
||||
resp.getheaders()
|
||||
dict(resp.getheaders())
|
||||
)
|
||||
|
||||
self.verbose = verbose
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue