闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
1.3 KiB

  1. HTTP/1.1 200 OK
  2. Server: nginx/1.6.2
  3. Date: Sun, 20 Mar 2016 11:11:00 GMT
  4. Content-Type: application/xrd+xml
  5. Transfer-Encoding: chunked
  6. Connection: keep-alive
  7. Access-Control-Allow-Origin: *
  8. Vary: Accept-Encoding,Cookie
  9. Strict-Transport-Security: max-age=31536000; includeSubdomains;
  10. <?xml version="1.0"?>
  11. <XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
  12. <Subject>acct:foo@localdomain.com</Subject>
  13. <Alias>https://webdomain.com/@foo</Alias>
  14. <Link rel="http://webfinger.net/rel/profile-page" type="text/html" href="https://webdomain.com/@foo"/>
  15. <Link rel="http://schemas.google.com/g/2010#updates-from" type="application/atom+xml" href="https://webdomain.com/users/foo.atom"/>
  16. <Link rel="salmon" href="https://webdomain.com/api/salmon/1"/>
  17. <Link rel="magic-public-key" href="data:application/magic-public-key,RSA.wnIYUQp-jMqH8tzStBoVriiGtbMvH12IU125p-3shZHxJNDi7RHwseKi5ADEGwGwpXLMxqiyNlgCff1hG9DBc8MzHZi1V93F2hCOXK0bqZm2lbsWfjkpsDIdBZ8TltwSejuQCt_rqL-K5XCfknd94P7tHOCBnizQRBanj0IdcSSqh7CmRS5wa1UjwflXVMsgbDc2io1knMeMkXsl0jzwt-CFHprmITzWy9X6Ia4QevkntiXdMlwUf_UoJC7BRns-J-j_dz2LqFl1QfspMhR2R9p8plDSD-jjk8DUVSBFZ7GLWVHEd6dWkLncEVEeRLliCaQQBqF1huSuMDtYWfukWQ==.AQAB"/>
  18. <Link rel="http://ostatus.org/schema/1.0/subscribe" template="https://webdomain.com/authorize_follow?acct={uri}"/>
  19. </XRD>