curl-users
gopher
Date: Sat, 16 Apr 2011 17:58:45 -0600
Please forgive the old version of curl. I'm using it on MacOS 10.3.9 as delivered by Apple on an old machine.
The gopher protocol still exists! But curl doesn't seem to work. The site is the home of Classilla, a browser for older Macs. Classilla works OK with the gopher site.
The owner says:
> > I put my copy of Nine11 v13 up in
> >
> > gopher://gopher.floodgap.com/1/archive/by-request/classic-mac
> >
> > You may consider that resting place permanent. Classilla and WaMCom both
> > speak Gopher protocol.
Here be what I got with curl. It looks as though curl is connecting on port 70 and then passing the remainder of the URL as an HTTP GET request. I expect a directory listing but I really don't remember squat about gopher. And it's not really important except for old time's sake.
[~]% curl -V
curl 7.10.2 (powerpc-apple-darwin7.0) libcurl/7.10.2 OpenSSL/0.9.7b zlib/1.1.4
[~]%
[~]% curl gopher://gopher.floodgap.com/1/archive/by-request/classic-mac
3 '/GET /archive/by-request/classic-mac HTTP/1.1' doesn't exist! error.host 1
i This resource cannot be located. error.host 1
.
[~]% curl -v gopher://gopher.floodgap.com/1/archive/by-request/classic-mac
* About to connect() to gopher.floodgap.com:70
* Connected to gopher.floodgap.com (66.159.214.138) port 70
> GET /archive/by-request/classic-mac HTTP/1.1
Host: gopher.floodgap.com:70
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
3 '/GET /archive/by-request/classic-mac HTTP/1.1' doesn't exist! error.host 1
i This resource cannot be located. error.host 1
.
* Connection #0 left intact
* Closing connection #0
[~]% curl -v gopher://gopher.floodgap.com/1/archive/by-request/classic-mac/
* About to connect() to gopher.floodgap.com:70
* Connected to gopher.floodgap.com (66.159.214.138) port 70
> GET /archive/by-request/classic-mac/ HTTP/1.1
Host: gopher.floodgap.com:70
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
3 '/GET /archive/by-request/classic-mac/ HTTP/1.1' doesn't exist! error.host 1
i This resource cannot be located. error.host 1
.
* Connection #0 left intact
* Closing connection #0
-- --> From the U S of A, the only socialist country that refuses to admit it. <-- ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-04-17