Thanks for your reply to my message.
It might be that the server is giving a 30x Redirect response? Which wget
automatically follows, but get-pure-port by default does not.
Does it help if you supply a non-zero value like say 10 for the optional
#:redirections argument to get-pure-port?
Ye
I'm trying to download a page using get-pure-port and I'm not getting the
result I expected:
$ cat d.rkt
#lang racket
(require net/url)
(define library-url (string->url
"http://example.com/search?/ftlist^bib18%2C1%2C0%2C2703/mode=2";))
(call/input-url
library-url
get-pure-
2 matches
Mail list logo