Added XML formatting to CHANGELOG.

This commit is contained in:
Jakub Roztocil 2013-06-02 20:27:58 +02:00
parent 1bad62ab0e
commit 172df162b3
3 changed files with 3 additions and 0 deletions

View File

@ -28,3 +28,4 @@ Patches and ideas
* `Tomek Wójcik <https://github.com/tomekwojcik>`_
* `Davey Shafik <https://github.com/dshafik>`_
* `cido <https://github.com/cido>`_
* `Justin Bonnar <https://github.com/jargonjustin>`_

View File

@ -1191,6 +1191,7 @@ Changelog
*You can click a version name to see a diff with the previous one.*
* `0.6.0-dev`_
* XML responses are now formatted.
* ``--session`` and ``--session-read-only`` now also accept paths to
session files (eg. ``http --session=/tmp/session.json example.org``).
* `0.5.1`_ (2013-05-13)

View File

@ -404,6 +404,7 @@ class JSONProcessor(BaseProcessor):
class XMLProcessor(BaseProcessor):
"""XML body processor."""
# TODO: tests
def process_body(self, content, content_type, subtype, encoding):
if subtype == 'xml':