Martin Panter
b362f75f6e
Issue #25523 : Correct "a" article to "an" article
...
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
to fix the grammar.
2015-11-02 03:37:02 +00:00
Serhiy Storchaka
073418af05
Issue #26873 : xmlrpclib now raises ResponseError on unsupported type tags
...
instead of silently return incorrect result.
2016-05-04 11:28:09 +03:00
Serhiy Storchaka
9a118f1dc3
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
2016-04-17 09:37:36 +03:00
Serhiy Storchaka
9b5177c41a
Issue #26147 : xmlrpclib now works with unicode not encodable with used
...
non-UTF-8 encoding.
2016-01-20 10:33:51 +02:00
Serhiy Storchaka
2f173fe26b
Issue #21847 : Fixed xmlrpclib and tests on Unicode-disabled builds.
2016-01-18 19:35:23 +02:00
Serhiy Storchaka
1aa2c0f073
Issue #23865 : close() methods in multiple modules now are idempotent and more
...
robust at shutdown. If needs to release multiple resources, they are released
even if errors are occured.
2015-04-10 13:24:10 +03:00
Benjamin Peterson
9e8f523c5b
add a default limit for the amount of data xmlrpclib.gzip_decode will return ( closes #16043 )
2014-12-05 20:15:15 -05:00
Benjamin Peterson
ee44314f93
this is why tests are great
2014-11-29 23:06:06 -05:00
Benjamin Peterson
efa3cf84d2
add context parameter to xmlrpclib.ServerProxy ( #22960 )
...
Patch from Alex Gaynor.
2014-11-29 22:55:35 -05:00
Senthil Kumaran
011097395b
Issue #19082 : Working SimpleXMLRPCServer and xmlrpclib examples, both in modules and documentation.
2014-01-12 16:04:08 -08:00
Andrew Svetlov
4bb142b1b7
Issue #16714 : use 'raise' exceptions, don't 'throw'.
...
Patch by Serhiy Storchaka.
2012-12-18 21:27:37 +02:00
Victor Stinner
51b719814e
Issue #12931 : xmlrpclib now encodes Unicode URI to ISO-8859-1, instead of
...
failing with a UnicodeDecodeError.
2011-09-23 01:15:32 +02:00
Senthil Kumaran
d8e4edd5d2
Fix Issue8194 - Fix incompatible API change in the parse_respones for xmlrpclib.
2010-12-07 07:10:04 +00:00
Victor Stinner
8b0d84e3d5
Backport of 83120 ( #9032 )
...
XML-RPC client: Transport.request() retries on EPIPE error
The EPIPE error occurs when the server closes the socket and the client sends a
"big" XML-RPC request (I don't know exactly the size threshold).
request() just have to ignore the error because single_request() closes the
socket on error, and so the next call to single_request() will open a new
socket.
Remove also a comment in the HTTP client because it's now wrong: see r70643 and
issue #5542 .
2010-07-24 02:51:49 +00:00
Kristján Valur Jónsson
68b0731b94
issue 6769
...
fix a mistake in instantiatiating the HTTPSConnection class.
2009-08-24 11:39:31 +00:00
Kristján Valur Jónsson
c0379437fc
http://bugs.python.org/issue6499
...
gzip.GzipFile may not exist as a parent class
2009-07-19 22:35:44 +00:00
Kristján Valur Jónsson
6d755900f6
http://bugs.python.org/issue6499
...
zlib/gzip may not be present for all builds. Make xmlrpclib gracefully not supporg gzip encoding in this case
2009-07-19 22:14:00 +00:00
Kristján Valur Jónsson
e5445da631
http://bugs.python.org/issue6267
...
Incorrect exception handling for xmlrpc client retry
2009-07-03 23:29:50 +00:00
Kristján Valur Jónsson
f83648ef48
http://bugs.python.org/issue6267
...
Incorrect exception handling for xmlrp client retry
2009-07-03 23:26:02 +00:00
Kristján Valur Jónsson
e007860b8b
http://bugs.python.org/issue6267
...
Cumulative patch to http and xmlrpc
2009-06-28 21:04:17 +00:00
Georg Brandl
e6632b47bb
#5767 : remove sgmlop support from xmlrpclib; the sgmlop parser does not do much validation and is no longer much faster than e.g. the cElementTree XMLParser.
2009-06-04 08:58:32 +00:00
Benjamin Peterson
717c083e8d
fix test_xmlrpc failures #4939
2009-01-13 23:43:50 +00:00
Kristján Valur Jónsson
3c43fcba8b
Issue 4879: Allow buffering for HTTPResponse
2009-01-11 16:23:37 +00:00
Jeremy Hylton
0381f48936
Send HTTP headers and message body in a single send() call.
...
This change addresses part of issue 4336.
Change endheaders() to take an optional message_body argument
that is sent along with the headers. Change xmlrpclib and
httplib's other methods to use this new interface.
It is more efficient to make a single send() call, which should
get the entire client request into one packet (assuming it is
smaller than the MTU) and will avoid the long pause for delayed
ack following timeout.
Also:
- Add a comment about the buffer size for makefile().
- Extract _set_content_length() method and fix whitespace issues there.
2008-11-29 01:09:35 +00:00
Brett Cannon
814820bb28
Remove assignment to True/False and use of dict.has_key() to silence warnings
...
while running under -3.
2008-08-04 00:50:11 +00:00
Georg Brandl
d0b592f8e8
#2985 : allow i8 in XMLRPC responses.
2008-05-29 07:45:26 +00:00
Skip Montanaro
b131f0468f
resolve issue 2014
2008-04-18 20:35:46 +00:00
Andrew M. Kuchling
085f75a851
#1330538 : Improve comparison of xmlrpclib.DateTime and datetime instances.
...
Remove automatic handling of datetime.date and datetime.time.
This breaks backward compatibility, but python-dev discussion was strongly
against this automatic conversion; see the bug for a link.
2008-02-23 16:23:05 +00:00
Martin v. Löwis
07529354db
Patch #1070046 : Marshal new-style objects like InstanceType
...
in xmlrpclib.
2006-11-19 18:51:54 +00:00
Andrew M. Kuchling
bdb3901001
[Bug #1164912 ] Ensure Datetime wrapper class .value attribute is an 8-bit string, not a Unicode string
2005-12-04 19:11:17 +00:00
Skip Montanaro
174dd2219d
Add better datetime support to xmlrpclib module. Closes patch #1120353 .
2005-05-14 20:54:16 +00:00
Fred Drake
22c0706a58
fix decoding in _stringify to not depend on the default encoding
...
(closes SF bug #1115989 )
2005-02-11 17:59:08 +00:00
Fred Drake
ba613c3410
accept datetime.datetime instances when marshalling;
...
dateTime.iso8601 elements still unmarshal into xmlrpclib.DateTime objects
2005-02-10 18:33:30 +00:00
Raymond Hettinger
fe59dc1bd8
Revert previous checkin.
2005-02-07 15:28:45 +00:00
Raymond Hettinger
f715366f23
Reduce the usage of the types module.
2005-02-07 14:16:21 +00:00
Fredrik Lundh
7069c31bbb
removed info@pythonware.com reference
...
(should probably remove all traces of _xmlrpclib, but I'll leave that
for another day.)
2004-10-13 06:48:37 +00:00
Martin v. Löwis
12237b3a19
Replace yield with sequence class. Fixes #1009803 .
2004-08-22 16:04:50 +00:00
Martin v. Löwis
37af986ebf
Bump minimum Python version to 2.1. Fixes #1009803 .
2004-08-20 07:31:37 +00:00
Andrew M. Kuchling
5962f457b4
[Bug #841757 ] Patch from /F to allow Unicode strings as struct keys
2004-06-05 12:35:58 +00:00
Raymond Hettinger
cc523fc53d
SF patch #834015 : Remove imports of unused modules
...
(Contributed by George Yoshida.)
2003-11-02 09:47:05 +00:00
Martin v. Löwis
45394c281d
Patch #531629 : Add multicall support.
2003-10-31 13:49:36 +00:00
Walter Dörwald
f0dfc7ac5c
Fix a bunch of typos in documentation, docstrings and comments.
...
(From SF patch #810751 )
2003-10-20 14:01:56 +00:00
Martin v. Löwis
541342f82c
Patch #764470 : Fix marshalling of faults. Will backport to 2.2.
2003-07-12 07:53:04 +00:00
Gustavo Niemeyer
d5b8090e4c
Made DateTime's constructor accept a time.struct_time class,
...
besides plain tuples.
2003-06-16 02:49:42 +00:00
Tim Peters
c2659cff5d
Whitespace normalization.
2003-05-12 20:19:37 +00:00
Andrew M. Kuchling
a4c2b7485b
[Patch #628208 ] Add optional support for the 'nil' extension
2003-04-25 00:26:51 +00:00
Skip Montanaro
bfcbfa7c46
move imports in Binary class to top level to avoid repeated imports.
...
use cStringIO if available.
2003-04-24 19:51:31 +00:00
Guido van Rossum
68468eba63
Get rid of many apply() calls.
2003-02-27 20:14:51 +00:00
Skip Montanaro
9a7c96a2bc
add support for Python's bool type to xmlrpclib - patch # 559288
2003-01-22 18:17:25 +00:00
Fredrik Lundh
768c98bb0b
patch #624180 (part 2 of 2):
...
use unquote on authentication strings, to allow users to embed
@ and : in user names and passwords (from Phillip Eby)
2002-11-01 17:14:16 +00:00