Martin Panter
bf2dca96fb
English spelling and grammar fixes
2016-07-11 07:51:37 +00:00
Senthil Kumaran
011097395b
Issue #19082 : Working SimpleXMLRPCServer and xmlrpclib examples, both in modules and documentation.
2014-01-12 16:04:08 -08:00
Éric Araujo
7c16412425
Use raw string for a docstring that uses a backslash
2012-03-05 16:29:30 +01:00
Charles-François Natali
e062466480
Issue #14001 : CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
...
upon malformed POST request.
2012-02-18 14:30:34 +01:00
Charles-François Natali
66f3cc6f8d
Issue #14001 : CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
...
upon malformed POST request.
2012-02-18 14:15:38 +01:00
Ezio Melotti
c2077b0d9b
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
2011-03-16 12:34:31 +02:00
Georg Brandl
e1ff214139
Punctuation fix.
2010-10-27 07:09:22 +00:00
Kristján Valur Jónsson
429677ec38
Issue 6654
...
Allow the XML-RPC server to use the HTTP request path when dispatching. Added a MultiPathXMLRPCServer class that uses the feature, plus unit tests.
2009-08-27 23:13:18 +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
e007860b8b
http://bugs.python.org/issue6267
...
Cumulative patch to http and xmlrpc
2009-06-28 21:04:17 +00:00
Matthias Klose
65396b4dcd
Merged revisions 71268 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71268 | matthias.klose | 2009-04-05 23:00:48 +0200 (So, 05 Apr 2009) | 3 lines
- Issue #2703 : SimpleXMLRPCDispatcher.__init__: Provide default values for
new arguments introduced in 2.5.
........
2009-04-05 21:34:15 +00:00
Georg Brandl
9b08e05e1e
Merged revisions 70866-70868,70870-70871,70893,70896,70902,70905,70907,70912,70915,70927,70933,70940,70944,70954,70963,70998,71056 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70866 | georg.brandl | 2009-03-31 21:06:57 +0200 (Di, 31 Mär 2009) | 1 line
#4882 : document named group behavior a bit better.
........
r70867 | georg.brandl | 2009-03-31 21:10:35 +0200 (Di, 31 Mär 2009) | 1 line
#1096310 : document usage of sys.__std*__ a bit better.
........
r70868 | georg.brandl | 2009-03-31 21:12:17 +0200 (Di, 31 Mär 2009) | 1 line
#5190 : export make_option in __all__.
........
r70870 | georg.brandl | 2009-03-31 21:26:24 +0200 (Di, 31 Mär 2009) | 1 line
#4411 : document mro() and __mro__. (I hope I got it right.)
........
r70871 | georg.brandl | 2009-03-31 21:30:56 +0200 (Di, 31 Mär 2009) | 1 line
#5618 : fix typo.
........
r70893 | georg.brandl | 2009-03-31 22:56:32 +0200 (Di, 31 Mär 2009) | 1 line
#1530012 : move TQS section before raw strings.
........
r70896 | georg.brandl | 2009-03-31 23:15:33 +0200 (Di, 31 Mär 2009) | 1 line
#5598 : document DocFileSuite *args argument.
........
r70902 | georg.brandl | 2009-03-31 23:43:03 +0200 (Di, 31 Mär 2009) | 1 line
#1675026 : add a note about a strange Windows problem, and remove notes about AtheOS.
........
r70905 | georg.brandl | 2009-04-01 00:03:40 +0200 (Mi, 01 Apr 2009) | 1 line
#5563 : more documentation for bdist_msi.
........
r70907 | georg.brandl | 2009-04-01 00:18:19 +0200 (Mi, 01 Apr 2009) | 1 line
#3427 : document correct return type for urlopen().info().
........
r70912 | georg.brandl | 2009-04-01 00:35:46 +0200 (Mi, 01 Apr 2009) | 1 line
#5617 : add a handy function to print a unicode string to gdbinit.
........
r70915 | georg.brandl | 2009-04-01 00:40:16 +0200 (Mi, 01 Apr 2009) | 1 line
#5018 : remove confusing paragraph.
........
r70927 | georg.brandl | 2009-04-01 01:01:27 +0200 (Mi, 01 Apr 2009) | 1 line
Dont shout to users.
........
r70933 | georg.brandl | 2009-04-01 02:04:33 +0200 (Mi, 01 Apr 2009) | 2 lines
Issue #5635 : Fix running test_sys with tracing enabled.
........
r70940 | georg.brandl | 2009-04-01 06:21:14 +0200 (Mi, 01 Apr 2009) | 2 lines
The SimpleXMLRPCServer's CGI handler now runs like a pony.
........
r70944 | georg.brandl | 2009-04-01 06:32:39 +0200 (Mi, 01 Apr 2009) | 1 line
#5631 : add upload to list of possible commands, which is presented in --help-commands.
........
r70954 | georg.brandl | 2009-04-01 17:23:43 +0200 (Mi, 01 Apr 2009) | 1 line
Fix test_xmlrpc and make the CGI handler work with no CONTENT_LENGTH.
........
r70963 | georg.brandl | 2009-04-01 19:46:01 +0200 (Mi, 01 Apr 2009) | 1 line
#5655 : fix docstring oversight.
........
r70998 | georg.brandl | 2009-04-01 23:54:21 +0200 (Mi, 01 Apr 2009) | 1 line
In Pdb, stop assigning values to __builtin__._ which interferes with the one commonly installed by gettext.
........
r71056 | georg.brandl | 2009-04-02 19:43:07 +0200 (Do, 02 Apr 2009) | 2 lines
Actually the displayhook should print the repr.
........
2009-04-05 21:21:05 +00:00
Matthias Klose
a5d58c831f
- Issue #2703 : SimpleXMLRPCDispatcher.__init__: Provide default values for
...
new arguments introduced in 2.5.
2009-04-05 21:00:48 +00:00
Senthil Kumaran
20d114cad2
Fix for issue5040. Adding test for Content-Length
2009-04-01 20:26:33 +00:00
Georg Brandl
61fce3877c
Fix test_xmlrpc and make the CGI handler work with no CONTENT_LENGTH.
2009-04-01 15:23:43 +00:00
Georg Brandl
e92d4b6f57
The SimpleXMLRPCServer's CGI handler now runs like a pony.
2009-04-01 04:21:14 +00:00
Brett Cannon
0a0f608244
Remove a dict.has_key() and callable() usage in SimpleXMLRPCServer as triggered
...
under -3 through test_xmlrpc.
2008-08-03 22:57:23 +00:00
Georg Brandl
e152a77d96
socketserver renaming reversal part 3: move the module into the right
...
place and fix all references to it. Closes #2926 .
2008-05-24 18:31:28 +00:00
Alexandre Vassalotti
d192c925ac
Updated all import statements to use the new socketserver module name.
...
Renamed socketserver module in its own documentation.
Renamed documentation references.
2008-05-12 02:11:22 +00:00
Facundo Batista
7f686fce40
Added a flag (_send_traceback_header) to the SimpleXMLRPCServer class
...
that allows sending back exception/stack trace information about
internal server errors (this flag defaults to False to avoid sending
such information unless explicitly enabled). Added tests to verify
behavior of this new feature (these tests are skipped on win32 because
of problems with WSAEWOULDBLOCK). Renamed HTTPTestCase to
SimpleServerTestCase. [GSoC - Alan McIntyre]
2007-08-17 19:16:44 +00:00
Collin Winter
ae04106a0e
Patch #1599845 : Add an option to disable the implicit calls to server_bind() and server_activate() in the constructors for TCPServer, SimpleXMLRPCServer and DocXMLRPCServer.
2007-03-10 14:41:48 +00:00
Andrew M. Kuchling
a5453c48d5
[Bug #1525469 ] SimpleXMLRPCServer still uses the sys.exc_{value,type} module-level globals instead of calling sys.exc_info(). Reported by Russell Warren
2006-09-05 13:15:41 +00:00
Tim Peters
5535da0303
Whitespace normalization.
2006-06-01 13:41:46 +00:00
Georg Brandl
b9120e772b
Correctly dispatch Faults in loads (patch #1498627 )
2006-06-01 12:30:46 +00:00
Andrew M. Kuchling
622f144175
[Bug #1473048 ]
...
SimpleXMLRPCServer and DocXMLRPCServer don't look at
the path of the HTTP request at all; you can POST or
GET from / or /RPC2 or /blahblahblah with the same results.
Security scanners that look for /cgi-bin/phf will therefore report
lots of vulnerabilities.
Fix: add a .rpc_paths attribute to the SimpleXMLRPCServer class,
and report a 404 error if the path isn't on the allowed list.
Possibly-controversial aspect of this change: the default makes only
'/' and '/RPC2' legal. Maybe this will break people's applications
(though I doubt it). We could just set the default to an empty tuple,
which would exactly match the current behaviour.
2006-05-31 14:08:48 +00:00
Andrew M. Kuchling
b0a1e6b735
Add explanatory message
2006-04-21 12:57:35 +00:00
Anthony Baxter
e29002ccb0
Bug #1469163 : SimpleXMLRPCServer unconditionally attempted to import fcntl.
...
Wrapped in a try/except.
2006-04-12 12:07:31 +00:00
Tim Peters
536cf99536
Whitespace normalization.
2005-12-25 23:18:31 +00:00
Andrew M. Kuchling
427aedbbd4
[Patch #1039083 ] Add 'encoding' parameter to SimpleXMLRPCServer
2005-12-04 17:13:12 +00:00
Andrew M. Kuchling
ce100d8d4c
Use boolean name
2005-12-04 16:45:05 +00:00
Andrew M. Kuchling
10a16dea74
[Patch #893642 ] Add optional allow_none argument to SimpleXMLRPCServer, CGIXMLRPCRequestHandler
2005-12-04 16:34:40 +00:00
Andrew M. Kuchling
e63fde72f3
[Bug #792570 ] Under Windows, socket.read() seems to run into trouble when
...
asked to read tens of megabytes of data. On my Mac, it hits MemoryErrors
when reading around 15Mb in one chunk. The fix is to read the body in several
parts, not as one big piece.
It would be nice to fix the underlying socket.read() problem, too.
2.4 bugfix candidate.
2005-12-04 15:36:57 +00:00
Andrew M. Kuchling
3a97605500
[Bug #1222790 ] Set reuse-address and close-on-exec flags on the HTTP listening socket
2005-12-04 15:07:41 +00:00
Georg Brandl
7eb4b7d177
Fix all wrong instances of "it's".
2005-07-22 21:49:32 +00:00
Guido van Rossum
d064142579
Security fix PSF-2005-001 for SimpleXMLRPCServer.py.
2005-02-03 15:01:24 +00:00
Brett Cannon
b9b5f160ab
Fix a small typo in the docstring for system_methodSignature .
...
Closes bug #1038935 . Thanks Malte Helmert for spotting it.
2004-10-03 23:21:44 +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
Neal Norwitz
3f401f07e8
whitespace normalization
2003-06-29 04:19:37 +00:00
Neal Norwitz
732911fd1e
fix problems found by pychecker
2003-06-29 04:16:28 +00:00
Martin v. Löwis
9c5ea50c25
Patch #727805 : Remove extra line ending from CGI responses.
2003-05-01 05:05:09 +00:00
Tim Peters
2c60f7a136
Whitespace normalization.
2003-01-29 03:49:43 +00:00
Martin v. Löwis
d69663d300
Patch #473586 : Implement CGIXMLRPCRequestHandler.
2003-01-15 11:37:23 +00:00
Fred Drake
787fd8cdeb
_dispatch(): Do no re-define the resolve_dotted_atttribute() function
...
every time this gets called; move it out as a global helper function.
Simplify the call to the _dispatch() method of the registered instance.
2001-09-29 04:54:33 +00:00
Fredrik Lundh
b329b7134c
Brian Quinlan's XML-RPC server framework.
2001-09-17 17:35:21 +00:00