* FEATURE: Onebox can match engines based on the content_type `FinalDestination` now returns the `content_type` of a resolved URL. `Oneboxer` passes this value to `Onebox` itself. Onebox engines can now specify a `matches_content_type` regex of content_types that the engine can handle, regardless of the URL. `ImageOnebox` will match URLs with a content type of `image/png`, `jpg`, `gif`, `bmp`, `tif`, etc. This will allow images that exist at a URL without a file type extension to be correctly rendered, assuming a valid `content_type` is returned. |
||
|---|---|---|
| .. | ||
| engine | ||
| engine_spec.rb | ||
| helpers_spec.rb | ||
| layout_spec.rb | ||
| matcher_spec.rb | ||
| oembed_spec.rb | ||
| open_graph_spec.rb | ||
| preview_spec.rb | ||
| status_check_spec.rb | ||