mastodon/app/controllers
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
..
admin
api
auth
concerns
oauth
settings
well_known
about_controller.rb Clean up about page (#1282) 2017-04-09 14:47:25 +02:00
accounts_controller.rb
api_controller.rb
application_controller.rb Make file attachment on MediaAttachment optional (#1865) 2017-04-16 12:51:30 +02:00
authorize_follow_controller.rb
home_controller.rb
media_controller.rb
remote_follow_controller.rb Clean up generation of account webfinger string (#1477) 2017-04-10 22:58:06 +02:00
statuses_controller.rb
stream_entries_controller.rb
tags_controller.rb Fix public tags page 2016-12-04 16:56:45 +01:00