parent
82b0237cd1
commit
3fefe33c2c
|
@ -147,10 +147,10 @@ Polling a URL can result in one of four options:
|
|||
(define r
|
||||
(with-handlers ([exn:fail? exn-message])
|
||||
(call/input-url (string->url url) head-impure-port check-contents)))
|
||||
(if (boolean? r)
|
||||
r
|
||||
(if (string? r)
|
||||
(begin (eprintf "WARNING: failure getting http info for ~a (~a)\n" url r)
|
||||
#f)))
|
||||
#f)
|
||||
r))
|
||||
|
||||
(define (verify-ftp url)
|
||||
(define-values [host port? path]
|
||||
|
|
Loading…
Reference in New Issue
Block a user