diff --git a/README.rst b/README.rst index 44e1a412..54ea63f2 100644 --- a/README.rst +++ b/README.rst @@ -373,6 +373,7 @@ Changelog ========= * `0.2.7dev`_ + * Updated Solarized color scheme. * Windows: Added ``--output FILE`` to store output into a file (piping results into corrupted data on Windows). * Proper handling of binary requests and responses. diff --git a/httpie.png b/httpie.png index a363201b..0430ab80 100644 Binary files a/httpie.png and b/httpie.png differ diff --git a/httpie/httpie.png b/httpie/httpie.png deleted file mode 100644 index 0430ab80..00000000 Binary files a/httpie/httpie.png and /dev/null differ diff --git a/httpie/output.py b/httpie/output.py index b9bb9188..e0bcad4c 100644 --- a/httpie/output.py +++ b/httpie/output.py @@ -28,7 +28,7 @@ BINARY_SUPPRESSED_NOTICE = ( def format(msg, prettifier=None, with_headers=True, with_body=True, env=Environment()): - """Return a UTF8-encoded representation of a `models.HTTPMessage`. + """Return `bytes` representation of a `models.HTTPMessage`. Sometimes the body contains binary data so we always return `bytes`. @@ -36,9 +36,9 @@ def format(msg, prettifier=None, with_headers=True, with_body=True, body is not included in the output and is replaced with notice. Generally, when the `stdout` is redirected, the output matches the actual - message as much as possible. When `--pretty` set (or implied), - or when the output is a terminal, then we prefer readability over - precision. + message as much as possible (formatting and character encoding-wise). + When `--pretty` is set (or implied), or when the output is a terminal, + then we prefer readability over precision. """