[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:


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.


More information about the Gemini mailing list