Skip to content

Commit

Permalink
Trim trailing empty lines from CLI output httpie#1547
Browse files Browse the repository at this point in the history
  • Loading branch information
hydromelvictor committed Jan 15, 2024
1 parent 9e8e369 commit 510e3df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpie/output/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@


MESSAGE_SEPARATOR = '\n\n'
MESSAGE_SEPARATOR_BYTES = MESSAGE_SEPARATOR.encode()
MESSAGE_SEPARATOR_BYTES = (MESSAGE_SEPARATOR.encode()).rstrip()


def write_message(
Expand Down

0 comments on commit 510e3df

Please sign in to comment.