by ksherlock · 4y ago · 0 comments
A gopher URL looks like: gopher://host/Xfile
Where X isn't part of the path name, it's one-character file type code. This code is client-side only and determine how the client downloads and interprets the file. Gopher has 2 separate ways of sending files - Binary files are sent as-is. Text/Menu files are sent line-oriented, with a CRLF after each line and a trailing . CR LF at the end. Again, the type code is on the client side and is not sent to the server.
The one advantage to this approach is that you can always convince a client to show you the source of gopher://host/1index by requesting gopher://host/0index.
It brings to mind a box where I used to work, full of forgotten hardware that never really caught on. It was fun to check it out in some ways, but when discussing the pain points there was usually an audible groan from someone nearby.
It sounds like you have some interesting stories to tell. Can you give an example of something that sticks out in your memory?