cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Gopher support and gopher+ selectors

From: Cameron Kaiser <spectre_at_floodgap.com>
Date: Thu, 28 Apr 2011 07:10:02 -0700 (PDT)

> For example the pages about Bucktooth:
> gopher://gopher.floodgap.com/1/buck/dbrowse?glossary
> gopher://gopher.floodgap.com/1/buck/dbrowse?faquse
> return items with an extra tab screwing up the urls to something like:
> gopher://faquse?1:gopher.floodgap.com/0/buck/dbrowse

Nice spot, you are correct. This is a bug. Can't believe I missed that one.
I will trot out a patch.

> Also, gopher should probably be made a default in curl's configure since it
> doesn't imply any dependency, as I had to hack around with the MacPort file
> to add --enable-gopher

I'll defer that decision to Daniel.

> Also I think it should be possible to have libcurl map the gopher error
> condition to the http status along with mime types when possible (for type
> 0 and g items for example). cf. fetch_curl_data() in content/fetchers/curl.c.

This one I would advise against. There is no standard way of marking error
conditions in Gopher. There are some de facto ones, but I don't think those
should be handled by curl necessarily.

-- 
------------------------------------ personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckaiser_at_floodgap.com
-- It's lonely at the top, but the food is better. ----------------------------
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-28