about summary refs log tree commit diff
path: root/spec/fixtures/requests/oembed_json.html
diff options
context:
space:
mode:
authorAkihiko Odaki (@fn_aki@pawoo.net) <akihiko.odaki.4i@stu.hosei.ac.jp>2017-06-04 21:59:40 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-04 14:59:40 +0200
commite674608d10e3c0381d2e8172580b36eb553b5279 (patch)
treefecaab9d845cb1bdf7a93520d7b22320df4ed8f5 /spec/fixtures/requests/oembed_json.html
parentc7af8cbc9081f349461634db0a1d76bc689d8dd5 (diff)
A minor change for ProviderDiscovery and spec (#3543)
* Do not default the format in ProviderDiscovery

The format should be determined when discovering, as it is in the current
implementation, and it is a flaw if it is not determined.

* Spec ProviderDiscovery
Diffstat (limited to 'spec/fixtures/requests/oembed_json.html')
-rw-r--r--spec/fixtures/requests/oembed_json.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/fixtures/requests/oembed_json.html b/spec/fixtures/requests/oembed_json.html
new file mode 100644
index 000000000..773a4f92a
--- /dev/null
+++ b/spec/fixtures/requests/oembed_json.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <link href='https://host/provider.json' rel='alternate' type='application/json+oembed'>
+  </head>
+  <body></body>
+</html>