4 ms·
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 li
by psnehanshu 1y 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?
- danabramov 1y agoI don’t think it would follow redirects. See https://atproto.com/specs/handle#https-well-known-method https://atproto.com/specs/handle#https-well-known-method Edit: I'm wrong; see below
- psnehanshu 1y agoIt says "HTTP redirects (eg, 301, 302) are allowed, up to a reasonable number of redirect hops."
- danabramov 1y agoAh my bad, you're right! I glossed over that.