We should send the right line-ending in our requests - holymoly - A tor enabled gopher client written in CHICKEN scheme
(HTM) git clone git://vernunftzentrum.de/holymoly.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 97785e927c073a76cee25dc3b35fdc8baaa2ef9a
(DIR) parent 24141c4a83cd1cd82a13526dc47bb54bde811d93
(HTM) Author: Christian Kellermann <ckeen@pestilenz.org>
Date: Fri, 27 Apr 2018 13:20:32 +0200
We should send the right line-ending in our requests
Diffstat:
holymoly.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/holymoly.scm b/holymoly.scm
@@ -157,7 +157,7 @@
(connect/socksv5 (car (proxy)) (cdr (proxy)) server port)
(receive (i o) (tcp-connect server port) (values i o #f)))))
(new-status "connected.")
- (display (string-append resource (string #\linefeed #\return)) o)
+ (display (string-append resource (string #\return #\linefeed)) o)
(let ((response (if until-eof?
(read-u8vector #f i)
(butlast (read-lines i)))))