Hacker News new | ask | show | jobs
by psnehanshu 257 days ago
Let's say I need to resolve @example.com and we use the HTTPS GET method. So we will query https:// example.com/.well-known/atproto-did

Will it work if that link redirects to says https:// example.com/did.txt or even to a different host say https:// foo.bar/some/thing/did?

1 comments

I don’t think it would follow redirects. See https://atproto.com/specs/handle#https-well-known-method

Edit: I'm wrong; see below

It says "HTTP redirects (eg, 301, 302) are allowed, up to a reasonable number of redirect hops."
Ah my bad, you're right! I glossed over that.