From 0f488dcecfb0c43134f15cfb2e6368845dcf3d8d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 31 May 2019 16:47:41 +0200 Subject: [PATCH] doc/protocol.rst: binary responses do have a newline after all Closes https://github.com/MusicPlayerDaemon/MPD/issues/568 --- doc/protocol.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/protocol.rst b/doc/protocol.rst index 57c23dc13..eb8e30608 100644 --- a/doc/protocol.rst +++ b/doc/protocol.rst @@ -65,13 +65,13 @@ Binary Responses Some commands can return binary data. This is initiated by a line containing ``binary: 1234`` (followed as usual by a newline). After -that, the specified number of bytes of binary data follows (without an -extra newline, because this binary data is not a text line), and -finally the ``OK`` line. Example:: +that, the specified number of bytes of binary data follows, then a +newline, and finally the ``OK`` line. Example:: foo: bar binary: 42 - <42 bytes>OK + <42 bytes> + OK Failure responses