💾 Archived View for 80h.dev › glog › 2020-05-17.gemini captured on 2023-01-29 at 02:45:54. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
After a conversation on the mailing list I decided to implement SCGI, I might
implement FastCGI later but I went with the easy one first. It's sitting in its
own branch right now because I'm not sure how to handle it fully.
In the specification for SCGI it says to set all the environmental variables CGI
has plus send an optional body. Gemserv isn't up to rfc spec but OK I'll send
what variables are already set. Now what about the body? I could set it to the
query string but that's already set in the variables. It could be sent in both
but that seems like a waste of bytes.
What else is there to send though? I assume an empty body would fill anyone's
needs over gemini, but I've never written CGI scripts.
If you can think of anything let me know, thanks.