Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add documentation on settings

  • Loading branch information...
commit eee0f5a9b16e05821fcbd7477fbdb219508fdf2f 1 parent d3bbc3b
Guillaume Gauvrit authored
Showing with 28 additions and 0 deletions.
  1. +28 −0 docs/index.rst
View
28 docs/index.rst
@@ -161,6 +161,34 @@ client:
>>> s.say_goodbye()
Goodbye, cruel world
+
+.. _configuration:
+
+Configuration XML-RPC
+~~~~~~~~~~~~~~~~~~~~~
+
+XML RPC serialization can be configured as in the `Python Standard
+Library <http://docs.python.org/2/library/xmlrpclib.html>`_.
+
+ - ``nil`` xml rpc extension
+ - cast every xmlrpc ``datetime.iso8601`` to python `datetime.datetime` type
+ - use an xml encoding in the response
+
+These parameters are set in the :mod:`pyramid` .ini configuration file
+like below:
+
+.. code-block:: ini
+
+ [app:main]
+
+ pyramid.includes =
+ pyramid_xmlrpc
+
+ xmlrpc.encoding = utf-8
+ xmlrpc.allow_none = True
+ xmlrpc.datetime = True
+
+
.. _api:
API Documentation for :mod:`pyramid_xmlrpc`
Please sign in to comment.
Something went wrong with that request. Please try again.