about summary refs log tree commit diff
path: root/spec/fixtures/requests
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/requests')
-rw-r--r--spec/fixtures/requests/oembed_invalid_xml.html7
-rw-r--r--spec/fixtures/requests/oembed_json.html7
-rw-r--r--spec/fixtures/requests/oembed_json_xml.html8
-rw-r--r--spec/fixtures/requests/oembed_undiscoverable.html5
-rw-r--r--spec/fixtures/requests/oembed_xml.html7
5 files changed, 34 insertions, 0 deletions
diff --git a/spec/fixtures/requests/oembed_invalid_xml.html b/spec/fixtures/requests/oembed_invalid_xml.html
new file mode 100644
index 000000000..405834f12
--- /dev/null
+++ b/spec/fixtures/requests/oembed_invalid_xml.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <link href=':' rel='alternate' type='application/xml+oembed'>
+  </head>
+  <body></body>
+</html>
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>
diff --git a/spec/fixtures/requests/oembed_json_xml.html b/spec/fixtures/requests/oembed_json_xml.html
new file mode 100644
index 000000000..b5fc9bed0
--- /dev/null
+++ b/spec/fixtures/requests/oembed_json_xml.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <link href='https://host/provider.json' rel='alternate' type='application/json+oembed'>
+    <link href='https://host/provider.xml' rel='alternate' type='application/xml+oembed'>
+  </head>
+  <body></body>
+</html>
diff --git a/spec/fixtures/requests/oembed_undiscoverable.html b/spec/fixtures/requests/oembed_undiscoverable.html
new file mode 100644
index 000000000..a4acdc47a
--- /dev/null
+++ b/spec/fixtures/requests/oembed_undiscoverable.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<html>
+  <head></head>
+  <body></body>
+</html>
diff --git a/spec/fixtures/requests/oembed_xml.html b/spec/fixtures/requests/oembed_xml.html
new file mode 100644
index 000000000..5d7633e71
--- /dev/null
+++ b/spec/fixtures/requests/oembed_xml.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <link href='https://host/provider.xml' rel='alternate' type='application/xml+oembed'>
+  </head>
+  <body></body>
+</html>