💾 Archived View for rawtext.club › ~sloum › geminilist › 005875.gmi captured on 2024-03-21 at 16:36:42. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

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

<-- back to the mailing list

[tech] ☿️ gemini — head request

Petite Abeille petite.abeille at gmail.com

Wed Mar 3 10:29:32 GMT 2021

- - - - - - - - - - - - - - - - - - - 

HTTP sports the HEAD method — which returns only the headers of a response, without the content itself:

https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/HEAD

HTTP GET and HEAD are semantically equivalent: GET returns both headers and body, while HEAD only returns the headers of the response.

Gemini proper doesn't formally offer anything equivalent: a 20 response is an all or nothing proposition — the equivalent of an HTTP GET only.

In practice though, a Gemini HEAD request simply means a Gemini agent reading only the response status line — and ignoring the content itself.

☿️ Gemini offers the following implementation suggestion to ☿️ Gemini agents:

• For clients — drop the connection immediately after reading the status line • For servers — double check the network connection status before sending the content itself, perhaps even delaying it slightly

That's all folks.

±0¢