[tech] ☿️ gemini — head request

Petite Abeille <petite.abeille (a) gmail.com>

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?

Link to individual message.

---

Previous Thread: ☿️ gemini — existentialism

Next Thread: Just a warning about https://www.protocolgemini.com/