Redirection limits

Philip Linde linde.philip at gmail.com
Tue Oct 27 17:54:24 GMT 2020


On Tue, 27 Oct 2020 13:31:36 -0400
John Cowan <cowan at ccil.org> wrote:

> Not all clients have human users attached, though.  Crawlers and other
> automated applications need to make their own decisions when to stop.

Yes, I think its reasonable for a crawler to decide for itself how many
redirects it wants to follow, in the same sense that it's reasonable for
a user.

> Which reminds me: what is the best thing for such an application to do when
> it gets a 1x response?

To interpret the spec strictly, a client should display the query to
the user, and should then request the same resource with the user's
input included. This is impossible for a client that doesn't interact
with a user, so a crawler should just ignore 1x responses.

This seems like the best approach practically as well. There is no set
of standard queries that the crawler can safely interpret to mean
something it can answer.

-- 
Philip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20201027/1250e0f5/attachment.sig>


More information about the Gemini mailing list