CGI

Michael Lazar lazar.michael22 at gmail.com
Fri Jul 17 18:36:50 BST 2020


I like the form idea and I wrote something similar for gopher a while back [0].

https://gopher.floodgap.com/gopher/gw?=mozz.us+7005+312f64656d6f2d666f726d

In my case, I used URL query parameters to keep track of previously submitted
form values. This worked because query params do not have any special meaning
in gopher URLs. For gemini the query component is reserved, but you could
probably accomplish the same thing using a special path component with the
encoded fields in it.

gemini://example.com/cgi-bin/form/name%3Dpaul%26location%3Dcanada/

- mozz

[0] https://github.com/michael-lazar/flask-gopher/blob/master/demo/run_server.py#L154


More information about the Gemini mailing list