diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-20 13:03:06 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-20 13:03:06 +0100 |
commit | b640f35621b419ae9b9e621e00a8a055068ce2f4 (patch) | |
tree | 430d9b5a442a427d07135b96ac0f71fd24d4aa99 /spec/fixtures/requests/.host-meta.txt | |
parent | e14b76c7cb07c3ebc01a17991df9fe5b69d1b5bc (diff) |
Writing out more tests, fixed some bugs
Diffstat (limited to 'spec/fixtures/requests/.host-meta.txt')
-rw-r--r-- | spec/fixtures/requests/.host-meta.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/fixtures/requests/.host-meta.txt b/spec/fixtures/requests/.host-meta.txt new file mode 100644 index 000000000..b312b11fb --- /dev/null +++ b/spec/fixtures/requests/.host-meta.txt @@ -0,0 +1,19 @@ +HTTP/1.1 200 OK +Server: nginx/1.6.2 +Date: Sun, 20 Mar 2016 11:11:00 GMT +Content-Type: application/xrd+xml +Transfer-Encoding: chunked +Connection: keep-alive +Access-Control-Allow-Origin: * +Vary: Accept-Encoding,Cookie +Strict-Transport-Security: max-age=31536000; includeSubdomains; + +<?xml version="1.0" encoding="UTF-8"?> +<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"> + <Link rel="lrdd" type="application/jrd+json" template="https://quitter.no/.well-known/webfinger?resource={uri}"/> + <Link rel="lrdd" type="application/json" template="https://quitter.no/.well-known/webfinger?resource={uri}"/> + <Link rel="lrdd" type="application/xrd+xml" template="https://quitter.no/.well-known/webfinger?resource={uri}"/> + <Link rel="http://apinamespace.org/oauth/access_token" href="https://quitter.no/api/oauth/access_token"/> + <Link rel="http://apinamespace.org/oauth/request_token" href="https://quitter.no/api/oauth/request_token"/> + <Link rel="http://apinamespace.org/oauth/authorize" href="https://quitter.no/api/oauth/authorize"/> +</XRD> |