mastodon/spec/requests
Matt Jankowski 21a767dcfa Improve handling of HTTP_ACCEPT for webfinger (#2008)
This change includes:

- Improve the spec coverage for incoming request to the webfinger action
- For requests without an accept header (ie, what a browser might look like),
  return a JSON response.
- For requests with an explicit format of xml or json, return that format.
- For requests using an accept header, return that format.

Also adds failing spec showing webfinger does not return xml, which covers the
issue described in: https://github.com/tootsuite/mastodon/issues/1983
2017-04-17 19:58:03 +02:00
..
catch_all_route_request_spec.rb
host_meta_request_spec.rb Clean up well-known routes/controllers (#1649) 2017-04-13 13:09:07 +02:00
localization_spec.rb Improve i18n chooser (#1804) 2017-04-15 01:12:39 +02:00
webfinger_request_spec.rb Improve handling of HTTP_ACCEPT for webfinger (#2008) 2017-04-17 19:58:03 +02:00