summaryrefslogtreecommitdiffstats
path: root/Lib/SimpleXMLRPCServer.py
Commit message (Collapse)AuthorAgeFilesLines
* Added a flag (_send_traceback_header) to the SimpleXMLRPCServer classFacundo Batista2007-08-171-1/+15
| | | | | | | | | 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]
* Patch #1599845: Add an option to disable the implicit calls to server_bind() ↵Collin Winter2007-03-101-2/+2
| | | | and server_activate() in the constructors for TCPServer, SimpleXMLRPCServer and DocXMLRPCServer.
* [Bug #1525469] SimpleXMLRPCServer still uses the sys.exc_{value,type} ↵Andrew M. Kuchling2006-09-051-2/+4
| | | | module-level globals instead of calling sys.exc_info(). Reported by Russell Warren
* Whitespace normalization.Tim Peters2006-06-011-10/+10
|
* Correctly dispatch Faults in loads (patch #1498627)Georg Brandl2006-06-011-3/+3
|
* [Bug #1473048]Andrew M. Kuchling2006-05-311-0/+28
| | | | | | | | | | | | | | | | 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.
* Add explanatory messageAndrew M. Kuchling2006-04-211-0/+1
|
* Bug #1469163: SimpleXMLRPCServer unconditionally attempted to import fcntl.Anthony Baxter2006-04-121-2/+6
| | | | Wrapped in a try/except.
* Whitespace normalization.Tim Peters2005-12-251-6/+6
|
* [Patch #1039083] Add 'encoding' parameter to SimpleXMLRPCServerAndrew M. Kuchling2005-12-041-8/+11
|
* Use boolean nameAndrew M. Kuchling2005-12-041-1/+1
|
* [Patch #893642] Add optional allow_none argument to SimpleXMLRPCServer, ↵Andrew M. Kuchling2005-12-041-6/+8
| | | | CGIXMLRPCRequestHandler
* [Bug #792570] Under Windows, socket.read() seems to run into trouble whenAndrew M. Kuchling2005-12-041-2/+13
| | | | | | | | | | 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.
* [Bug #1222790] Set reuse-address and close-on-exec flags on the HTTP ↵Andrew M. Kuchling2005-12-041-1/+11
| | | | listening socket
* Fix all wrong instances of "it's".Georg Brandl2005-07-221-2/+2
|
* Security fix PSF-2005-001 for SimpleXMLRPCServer.py.Guido van Rossum2005-02-031-5/+29
|
* Fix a small typo in the docstring for system_methodSignature .Brett Cannon2004-10-031-1/+1
| | | | Closes bug #1038935. Thanks Malte Helmert for spotting it.
* SF patch #834015: Remove imports of unused modulesRaymond Hettinger2003-11-021-1/+0
| | | | (Contributed by George Yoshida.)
* whitespace normalizationNeal Norwitz2003-06-291-1/+1
|
* fix problems found by pycheckerNeal Norwitz2003-06-291-2/+3
|
* Patch #727805: Remove extra line ending from CGI responses.Martin v. Löwis2003-05-011-2/+2
|
* Whitespace normalization.Tim Peters2003-01-291-34/+34
|
* Patch #473586: Implement CGIXMLRPCRequestHandler.Martin v. Löwis2003-01-151-109/+371
|
* _dispatch(): Do no re-define the resolve_dotted_atttribute() functionFred Drake2001-09-291-21/+17
| | | | | every time this gets called; move it out as a global helper function. Simplify the call to the _dispatch() method of the registered instance.
* Brian Quinlan's XML-RPC server framework.Fredrik Lundh2001-09-171-0/+254