cURL / Mailing Lists / curl-library / Single Mail

curl-library

Gopher support

From: David Shaw <dshaw_at_jabberwocky.com>
Date: Thu, 12 Jan 2006 18:28:23 -0500

I was playing around with libcurl today, and noted that the gopher
support doesn't actually work. Specifically, it looks like gopher is
being treated like http (more or less). While a gopher URL of
"gopher://127.0.0.1/0/foobar" should connect to 127.0.0.1:70 and send
the string "/foobar\r\n", using libcurl, that same URL connects to
127.0.0.1:70 and sends:

  GET /foobar HTTP/1.1
  Host: 127.0.0.1:70
  Accept: */*

Are there even that many gopher servers left in the world at this
point? I couldn't find more than 4 or so.

David
Received on 2006-01-13