@@ -311,14 +311,14 @@ Response Formats
311311
312312The default response format is json.
313313
314- If you add the ``dicttoxml .py`` module you can request XML formatted
314+ If you add the ``dicttoxml2 .py`` module you can request XML formatted
315315data using the header ``Accept: application/xml`` in your
316316request. Both output formats are similar in structure.
317317
318- ``dicttoxml .py`` should be installed in the Python install directory,
319- or the file can be added to the Roundup installation directory long
320- ide ``rest.py``. It can also be enabled on a per tracker basis by
321- adding ``dicttoxml .py`` to the lib directory in your tracker home (you
318+ ``dicttoxml2 .py`` should be installed in the Python install directory,
319+ or the file can be added to the Roundup installation directory along
320+ side ``rest.py``. It can also be enabled on a per tracker basis by
321+ adding ``dicttoxml2 .py`` to the lib directory in your tracker home (you
322322may need to create the directory). Then this can be added to
323323`interfaces.py`_ to enable xml::
324324
@@ -334,14 +334,18 @@ The rest interface accepts the http accept header and can include
334334way to specify alternate acceptable response formats.
335335
336336To make testing from the browser easier, you can also append the
337- extension `.json` or `.xml` to the path component of the url. This
337+ extension `` .json`` or `` .xml` ` to the path component of the url. This
338338will force json or xml (if supported) output. If you use an extension
339339it takes priority over any accept headers.
340340
341341The rest interface returns status 406 if you use an unrecognized
342342extension. You will also get a 406 status if none of the entries in
343343the accept header are available or if the accept header is invalid.
344344
345+ Note: ``dicttoxml2.py`` is an updated version of ``dicttoxml.py``. If
346+ you are still using Python 2.7 or 3.6, you should use
347+ ``dicttoxml.py``.
348+
345349
346350General Guidelines
347351------------------
0 commit comments