Message93798
I backported xmlrpclib from Python trunk to Python 2.5 to get "connected
socket" (HTTP/1.1), which implies to backport also httplib, ssl and socket. It
works well. It's *much* faster, eg. 960 ms => 70 ms with HTTPS over a VPN.
I just have a little issue: if ServerProxy() URI is an unicode string and an
argument is an unicode string (with at least one non-ASCII character), the
request fails with:
File ".../SVN/python-trunk/Lib/httplib.py", line 784, in _send_output
msg += message_body
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 320:
ordinal not in range(128)
Attached patch includes a test.
Can uri contains a login and/or pasword? If yes, should it be encoded to UTF-8
(instead of ASCII)? |
|
Date |
User |
Action |
Args |
2009-10-09 14:55:48 | vstinner | set | recipients:
+ vstinner |
2009-10-09 14:55:47 | vstinner | set | messageid: <1255100147.66.0.74499268339.issue7093@psf.upfronthosting.co.za> |
2009-10-09 14:55:46 | vstinner | link | issue7093 messages |
2009-10-09 14:55:45 | vstinner | create | |
|