项目作者: blabber

项目描述 :
A native gopher client for SailfishOS
高级语言: QML
项目地址: git://github.com/blabber/harbour-gophish.git
创建时间: 2017-11-01T20:32:39Z
项目社区:https://github.com/blabber/harbour-gophish

开源协议:MIT License

下载


gophish

gophish is a native gopher client for SailfishOS.

Supported item types

  • 0 - text files
  • 1 - gopher directories
  • 7 - search queries
  • h - HTML documents
    • traditional GET requests
    • URL: links

Encoding

RFC 1436 defines ASCII as the encoding
used by the gopher protocol, but this seems to be outdated by now. Being a
modern client, gophish supports two supersets of the ASCII encoding:

  • UTF-8 (preferred)
  • Latin-1

When first contacting a server, gophish will send a UTF-8 encoded selector.
This should be no problem, as long as the server is not using non-ASCII
characters in selectors (which is a bad idea anyway).

gophish tries to decode the data retrieved from the server using UTF-8 and if
that fails, it falls back to Latin-1. Once gophish had to fall back to Latin-1,
the server is marked as being Latin-1 encoded internally and all following
communication, including the selectors, will be encoded in Latin-1.