gemini+submit:// (was Re: Uploading Gemini content)

Petite Abeille petite.abeille at gmail.com
Sun Jun 14 03:51:19 BST 2020



> On Jun 14, 2020, at 04:39, Petite Abeille <petite.abeille at gmail.com> wrote:
> 
> 
> 
>> On Jun 14, 2020, at 04:21, Sean Conner <sean at conman.org> wrote:
>> 
>> You know, another (maybe silly) way:
>> 
>> C: inimeg://example.com/specification.gmi CRLF
>>  <starts role reversal---the connection is maintained and the server sends the request>
>> S: gemini://example.com/specification.gmi CRLF
>> C: <data>
>> C: 20 text/gemini CRLF
>>  <end role reversal>
>> S: 31 gemini://example.com/spcification.gmi CRLF
> 
> inimeg! Like! :)
> 
>> This doesn't solve the uploading of just data though.
> 
> Why not? Just inimeg to a new URL.
> 
> So, to create a resource is the same as updating a resource.
> 
> C: inimeg://path/to/resource/role_reversal.gmi
>> S: gemini://path/to/resource/role_reversal.gmi
> C: 20 text/gemini;length=123
>> S: 31 gemini://path/to/resource/role_reversal.gmi
> 

To delete something:

C: inimeg://path/to/resource/role_reversal.gmi
⇄
S: gemini://path/to/resource/role_reversal.gmi
C: 20 dev/null
⇄
S: 31 gemini://.../thanks



More information about the Gemini mailing list