💾 Archived View for bbs.geminispace.org › u › norayr › 11844 captured on 2024-05-10 at 14:01:50. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-03-21)
-=-=-=-=-=-=-
Re: "how i write this when only GET like request is valid?"
or a file of size not more than 1024 bytes, right?
otherwise, if we upload bigger file or comment, that would go via titan?
titan is encrypted right?
does it have request size limitation?
2023-11-19 · 6 months ago
🕹️ skyjake [mod...] · Nov 19 at 13:00:
The URL still needs to be percent-encoded, so an arbitrary file must be really small to fit into 1024 bytes.
Yes, Titan is a better choice for uploading data to a server. It uses TLS just like Gemini, so it is encrypted. The server can define the maximum upload size limitation.
@clseibold Technically gemini can support multiple & separated fields in a request. The problem is that a type 10 response will just put the value as the querystring. But there is nothing stopping you from using a link like gemini://example.com/cgi/mycgi?a=12&b=23
So you can have cgi applications that take in multiple values, but they have to come from hard coded links and not as a request to a type 10 response. There are quirky ways to work around all of that too, of course.
All that to say: I mostly agree with you regarding GET, but with an asterisk. I certainly agree with you that it is not apt to compare gemini and http responses/requests.
I think the original poster may also mean user auth and such? Which, of course, is done with client certs.
🐙 norayr [OP] · Nov 28 at 23:54:
auth i get, i didn't get the get part. (:
how i write this when only GET like request is valid? — that's the question. how this text is published if gemini only supports get like requests and the request only contains the url.