From ee18920730faa797bd14e13fbf0fe2a45d8888aa Mon Sep 17 00:00:00 2001 From: Leonardo Taccari Date: Sat, 15 Jun 2019 18:49:12 +0200 Subject: [PATCH 3/3] Fix the download a music file example. Thanks to Evil_Bob for catching it! --- cmdline.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmdline.txt b/cmdline.txt index 1deb41a..f0cb7ea 100644 --- a/cmdline.txt +++ b/cmdline.txt @@ -21,7 +21,8 @@ another software (or using tee for both at the same time). The following example will download a music file, save it on the filesystem and play it with mpv while downloading. - printf "/some_music.ogg\r\n" | tee saved_music.ogg | mpv - + printf "/some_music.ogg\r\n" | nc somedomain.com 70 | + tee saved_music.ogg | mpv - You may have seen that the data type is not part of the request string, this is because it is only useful for the client to decide how -- 2.22.0