doc/protocol.rst: binary responses do have a newline after all

Closes https://github.com/MusicPlayerDaemon/MPD/issues/568
This commit is contained in:
Max Kellermann 2019-05-31 16:47:41 +02:00
parent 17039aec70
commit 0f488dcecf

View File

@ -65,13 +65,13 @@ Binary Responses
Some commands can return binary data. This is initiated by a line Some commands can return binary data. This is initiated by a line
containing ``binary: 1234`` (followed as usual by a newline). After containing ``binary: 1234`` (followed as usual by a newline). After
that, the specified number of bytes of binary data follows (without an that, the specified number of bytes of binary data follows, then a
extra newline, because this binary data is not a text line), and newline, and finally the ``OK`` line. Example::
finally the ``OK`` line. Example::
foo: bar foo: bar
binary: 42 binary: 42
<42 bytes>OK <42 bytes>
OK
Failure responses Failure responses