Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodeinfo to short circuit entire process #24

Open
julianlam opened this issue Oct 25, 2024 · 0 comments
Open

nodeinfo to short circuit entire process #24

julianlam opened this issue Oct 25, 2024 · 0 comments

Comments

@julianlam
Copy link

julianlam commented Oct 25, 2024

While thinking through my own implementation it occurs to me that one could make a quick call to {domain}/.well-known/nodeinfo and stop processing immediately if that route returns non-200, since it's one signal you could use to determine that an instance does not support ActivityPub.

In terms of sensitivity vs. specificity, this is a not a high sensitivity test, because an instance returning nodeinfo might not be a true AP server or respond appropriately via any of the documented methods for link discovery.

However it is fairly specific, in that its absence can indicate no support at all. Given that nodeinfo support cannot be assumed, this test is not foolproof.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant