SMOLNET PORTAL home about changes
iAdd trailing CRLF in all client requests. - gopher-tutorials - The gopher tutorials project.	Err	bitreich.org	70
hgit clone git://bitreich.org/gopher-tutorials/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/gopher-tutorials/	URL:git://bitreich.org/gopher-tutorials/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/gopher-tutorials/	bitreich.org	70
1Log	/scm/gopher-tutorials/log.gph	bitreich.org	70
1Files	/scm/gopher-tutorials/files.gph	bitreich.org	70
1Refs	/scm/gopher-tutorials/refs.gph	bitreich.org	70
1Tags	/scm/gopher-tutorials/tag	bitreich.org	70
i---	Err	bitreich.org	70
1commit bacac60c92069254399bca491c31bf885588c48e	/scm/gopher-tutorials/commit/bacac60c92069254399bca491c31bf885588c48e.gph	bitreich.org	70
1parent aad77fbd0088739b958b2ed7a92f712d0d17c7de	/scm/gopher-tutorials/commit/aad77fbd0088739b958b2ed7a92f712d0d17c7de.gph	bitreich.org	70
hAuthor: Leonardo Taccari <iamleot@gmail.com>	URL:mailto:iamleot@gmail.com	bitreich.org	70
iDate:   Sat, 15 Jun 2019 18:39:20 +0200	Err	bitreich.org	70
i	Err	bitreich.org	70
iAdd trailing CRLF in all client requests.	Err	bitreich.org	70
i	Err	bitreich.org	70
iSigned-off-by: Christoph Lohmann <20h@r-36.net>	Err	bitreich.org	70
i	Err	bitreich.org	70
iDiffstat:	Err	bitreich.org	70
i  M cmdline.txt                         |       4 ++--	Err	bitreich.org	70
i	Err	bitreich.org	70
i1 file changed, 2 insertions(+), 2 deletions(-)	Err	bitreich.org	70
i---	Err	bitreich.org	70
1diff --git a/cmdline.txt b/cmdline.txt	/scm/gopher-tutorials/file/cmdline.txt.gph	bitreich.org	70
i@@ -10,7 +10,7 @@ request string and then netcat to send it to the remote server.	Err	bitreich.org	70
i 	Err	bitreich.org	70
i A request of the file "/tutorials/cmdline.txt" will looks like this :	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-    printf "/tutorials/cmdline.txt" | nc somedomain.com 70	Err	bitreich.org	70
i+    printf "/tutorials/cmdline.txt\r\n" | nc somedomain.com 70	Err	bitreich.org	70
i 	Err	bitreich.org	70
i You will get the server answer directly into your output. Be careful	Err	bitreich.org	70
i if you ask binary files, it will be displayed on your screen, this is	Err	bitreich.org	70
i@@ -21,7 +21,7 @@ another software (or using tee for both at the same time).	Err	bitreich.org	70
i The following example will download a music file, save it on the	Err	bitreich.org	70
i filesystem and play it with mpv while downloading.	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-    printf "/some_music.ogg" | tee saved_music.ogg | mpv -	Err	bitreich.org	70
i+    printf "/some_music.ogg\r\n" | tee saved_music.ogg | mpv -	Err	bitreich.org	70
i 	Err	bitreich.org	70
i You may have seen that the data type is not part of the request	Err	bitreich.org	70
i string, this is because it is only useful for the client to decide how	Err	bitreich.org	70
.
Response: text/plain
Original URLgopher://bitreich.org/0/scm/gopher-tutorials/commit/bacac...
Content-Typetext/plain; charset=utf-8