💾 Archived View for rawtext.club › ~sloum › geminilist › 002239.gmi captured on 2020-09-24 at 01:20:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

<-- back to the mailing list

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 submittedform values. This worked because query params do not have any special meaningin gopher URLs. For gemini the query component is reserved, but you couldprobably accomplish the same thing using a special path component with theencoded 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