Source

CherryPy / cherrypy / test / test_xmlrpc.py

The branch 'cherrypy-3.1.x' does not exist.
Author Commit Message Labels Comments Date
Robert Brewer
Test and fix for #791 (cherrypy.lib.xmlrpc.respond cannot marshal xmlrpclib.Fault objects).
Robert Brewer
Upgraded all INADDR_ANY and localhost checks to include IPv6 equivalents.
Robert Brewer
Fix for #643 (socket_host is confusing). Empty string and None are now illegal values for socket_host; use '0.0.0.0' instead for INADDR_ANY.
Robert Brewer
Allow non-xmlrpc methods on an XMLRPCController.
Robert Brewer
Minor cleanups.
Robert Brewer
Changes to socket_host: 1. wsgiserver now treats a host of "" as an alias for INADDR_ANY. The getaddrinfo call now passes host=None and sets AI_PASSIVE in this case. 2. Server.httpserver_from_self doesn't change an empty host ("") to localhost anymore. 3. The test suite has a new {{{--host=<name or IP>}}} flag. 4. The webtest module now allows WebCase.HOST to be "", and will connect on '127.0.0.1' if so. 5. Lots of …
Robert Brewer
Fix for #600 (InternalRedirect does double duty). This dispwrappers.patch changes vhost and xmlrpc from using InternalRedirect (which rewrites request.path_info) to dispatch wrapper functions (which do not).
Robert Brewer
SSL support for _cpwsgiserver. One test fails immaterially. Run "test.py --ssl" to test.
Robert Brewer
Overhaul of config system: 1. New docstring for config module! 2. Put all entries into a config namespace. New deadlock, log, request and response namespaces. 3. Request and response entries now directly modify attributes of cherrypy.request and .response, and consumer code looks up those attributes, not config. This also allows interactive inspection of defaults. 4. Removed 'log_config' config entry. Use engine.on_star…
Robert Brewer
Made all imports absolute "just in case" for Python 2.5.
Christian Wyglendowski
Fix for #533. CP3 will behave correctly and return a Fault when an XML-RPC method is not found.
Robert Brewer
Separated tool construction from default toolbox by renaming cherrypy.tools module to _cptools, and binding cherrypy tools to a new _cptools.default_toolbox object. Also cleaned up the top-level cherrypy namespace quite a bit, and moved some user code out of lib.cptools.
Robert Brewer
Removed "filter" from lots of places, including renaming of tests.