<-- back to the mailing list

[Tech] Useless statistics of the day: status codes

Stephane Bortzmeyer stephane at sources.org

Mon Jan 4 10:53:41 GMT 2021

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

In the database of the Lupa crawler<gemini://gemini.bortzmeyer.org/software/lupa/>, I find the followingstatus codes (by order of decreasing frequency):

(The status codes are documented in<gemini://gemini.circumlunar.space/docs/specification.gmi#fragments_could_be_useful_to_indicate_the_exact_section>.)

20 : OK51 : Not found, because many links no longer work, already, or may benever worked31 : Permanent redirection (Lupa adds the target URI to its databasebut keeps the original one)30 : Temporary redirection10 : Input, there are 310 URI replying by asking for input50 : Permanent failure, something wrong in the server40 : Temporary failure, server overloaded?60 : Client certificate required, 40 URI require this authentication42 : The ultimate answer (no, actually, CGI error)53 : Proxy request refused (typically a name pointing to an IP addresswhere the server is not configured for this virtual host)

The rest is marginal, less than ten URI:

49 : First status code I find which is not in the officialspecification. Anyone has an idea? Two URI.2 : Old server with the deprecated one-digit status codes?39 : Not in the official specification. Anyone has an idea? Two URI.59 : Bad request (no idea why my client sends bad requests)99 : Not in the official specification. Anyone has an idea? Two URI.58 : Not in the official specification. Anyone has an idea? Two URI.29 : Not in the official specification. Anyone has an idea? Two URI.43 : Proxy error. Reason unknown.61 : Certificate not authorised. Since I do not send clientcertificates, this is surprising.41 : Server not available (maintenance, for instance).52 : Gone. Like 51 but final. Just one URI,<gemini://gemini.conman.org/no-longer-here/> so it's probably a test.22 : Not in the official specification. Anyone has an idea? One URI.69 : Not in the official specification. Anyone has an idea? One URI.19 : Not in the official specification. Anyone has an idea? One URI.

The number of status codes not registered in the specification maymean that some servers are extending the Gemini protocol with unusedstatus codes. But some are also in test capsules like<gemini://gemini.conman.org/> or <gemini://egsam.glv.one/>.

Note that Lupa did not find even one occurrence of:

11 : Sensitive input44 : Slow down (may be because the crawler is nice)62 : Certificate not valid (which makes sense since I don't sendcertificates)