Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: