diff --git a/httpie/output/writer.py b/httpie/output/writer.py index 4a2949bce2..7085ebacd0 100644 --- a/httpie/output/writer.py +++ b/httpie/output/writer.py @@ -21,7 +21,7 @@ MESSAGE_SEPARATOR = '\n\n' -MESSAGE_SEPARATOR_BYTES = MESSAGE_SEPARATOR.encode() +MESSAGE_SEPARATOR_BYTES = (MESSAGE_SEPARATOR.encode()).rstrip() def write_message(