GOPHER ITEM TYPES
From Wikipedia, the free encyclopedia
Item types are described in gopher menus by a single number or
(case specific) letter and act as hints to the client to tell it
how to handle a specific media type in a menu, analogous to a MIME
type. Every client necessarily must understand itemtypes 0 and
1. All known clients understand item types 0 through 9, g, and s,
and all but the very oldest also understand file-types h and i.
* 0 = plain text file
* 1 = directory menu listing
* 2 = CSO search query
* 3 = error message
* 4 = BinHex encoded text file
* 5 = binary archive file
* 6 = UUEncoded text file
* 7 = search engine query
* 8 = telnet session pointer
* 9 = binary file
* g = GIF image
* h = HTML file
* i = informational message
* I = Image file of unspecified format. Client decides how to
display. Often used for JPEG images.
* s = Audio file format, primarily a WAV file
* T = tn3270 session pointer
A list of additional file-type definitions has continued to evolve
over time, with some clients supporting them and others not. As
such, many servers assign the generic 9 to every binary file,
hoping that the client's computer will be able to correctly process
the file.
URL LINKS
Historically, to create a link to a Web server, "GET /" was used as
a pseudo-selector to simulate an HTTP client request. John Goerzen
created an addition to the Gopher protocol, commonly referred to as
"URL links", that allows links to any protocol that supports
URLs. For example, to create a link to http://gopher.quux.org/, the
item type is "h", the display string is the title of the link, the
item selector is "URL:http://gopher.quux.org/", and the domain and
port are that of the originating Gopher server (so that clients
that do not support URL links will query the server and receive an
HTML redirection page).
Retrieved from
"http://en.wikipedia.org/w/index.php?title=Gopher_(protocol)&oldid=462563804"
Categories:
* Pre-World Wide Web online services
* Internet Gopher
* Internet protocols
* Application layer protocols
* Internet standards
* History of the Internet
* University of Minnesota software