💾 Archived View for gemi.dev › gemini-mailing-list › 000779.gmi captured on 2024-06-16 at 14:32:03. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

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

[tech] ☿️ gemini — head request

1. 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/