Compare commits
2 Commits
6529f4118c
...
master
Author | SHA1 | Date | |
---|---|---|---|
d788f6376e | |||
7114336863 |
10
client.rkt
10
client.rkt
@@ -166,7 +166,8 @@
|
||||
'get-document
|
||||
(string-append "unsupported scheme: ~a~n"
|
||||
" url: ~a~n")
|
||||
(url-scheme destination) destination))
|
||||
(url-scheme destination)
|
||||
(url->string destination)))
|
||||
|
||||
(define-values (status meta body-port)
|
||||
(net:request destination))
|
||||
@@ -222,7 +223,8 @@
|
||||
;; If the document failed to be fetched (parser error,
|
||||
;; unsupported mime, so on and so forth) this would not
|
||||
;; ever be reached.
|
||||
(set! history (cons destination history))]
|
||||
(set! history (cons destination history))
|
||||
(next-cmd)]
|
||||
|
||||
;;
|
||||
;; 30-39 REDIRECT
|
||||
@@ -274,6 +276,4 @@
|
||||
'get-document
|
||||
(string-append "resource requires a client certificate, "
|
||||
"which this client does not yet support~a~n"
|
||||
" url: ~a~n"))])
|
||||
|
||||
(next-cmd))))
|
||||
" url: ~a~n"))]))))
|
||||
|
Reference in New Issue
Block a user