mirror of
https://github.com/httpie/cli.git
synced 2025-06-24 03:21:26 +02:00
Added XML formatting to CHANGELOG.
This commit is contained in:
parent
1bad62ab0e
commit
172df162b3
@ -28,3 +28,4 @@ Patches and ideas
|
|||||||
* `Tomek Wójcik <https://github.com/tomekwojcik>`_
|
* `Tomek Wójcik <https://github.com/tomekwojcik>`_
|
||||||
* `Davey Shafik <https://github.com/dshafik>`_
|
* `Davey Shafik <https://github.com/dshafik>`_
|
||||||
* `cido <https://github.com/cido>`_
|
* `cido <https://github.com/cido>`_
|
||||||
|
* `Justin Bonnar <https://github.com/jargonjustin>`_
|
||||||
|
@ -1191,6 +1191,7 @@ Changelog
|
|||||||
*You can click a version name to see a diff with the previous one.*
|
*You can click a version name to see a diff with the previous one.*
|
||||||
|
|
||||||
* `0.6.0-dev`_
|
* `0.6.0-dev`_
|
||||||
|
* XML responses are now formatted.
|
||||||
* ``--session`` and ``--session-read-only`` now also accept paths to
|
* ``--session`` and ``--session-read-only`` now also accept paths to
|
||||||
session files (eg. ``http --session=/tmp/session.json example.org``).
|
session files (eg. ``http --session=/tmp/session.json example.org``).
|
||||||
* `0.5.1`_ (2013-05-13)
|
* `0.5.1`_ (2013-05-13)
|
||||||
|
@ -404,6 +404,7 @@ class JSONProcessor(BaseProcessor):
|
|||||||
|
|
||||||
class XMLProcessor(BaseProcessor):
|
class XMLProcessor(BaseProcessor):
|
||||||
"""XML body processor."""
|
"""XML body processor."""
|
||||||
|
# TODO: tests
|
||||||
|
|
||||||
def process_body(self, content, content_type, subtype, encoding):
|
def process_body(self, content, content_type, subtype, encoding):
|
||||||
if subtype == 'xml':
|
if subtype == 'xml':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user