Ghost/core/test/unit/api
Fabien O'Carroll 8ccf27340b Oembed meta tag fallback for unknown providers (#9827)
closes #9786

- Make GET request when url has no provider match
  - The HEAD request was made in order to send less data over the wire when
checking for redirects for urls that do not have an oembed provider
match. We are now going to look for provider metatags withing the
response of the request - rather than making a HEAD followed by a GET if
no redirect is found, this condenses that to a single request.

- Try to get OEmbed data from tag if no provider
  - Here we parse the HTML response of the resource and look for a link tag
that will give us the oembed resource url which we can use to fetch the
embed html
2018-08-27 15:02:03 +01:00
..
index_spec.js 🎨 change how we get and set config 2016-09-20 15:59:34 +01:00
oembed_spec.js Oembed meta tag fallback for unknown providers (#9827) 2018-08-27 15:02:03 +01:00
utils_spec.js Extended the API object validation 2018-04-05 18:51:58 +02:00