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 |
||
|---|---|---|
| .. | ||
| admin | ||
| api | ||
| auth | ||
| concerns | ||
| oauth | ||
| settings | ||
| well_known | ||
| about_controller.rb | ||
| accounts_controller.rb | ||
| api_controller.rb | ||
| application_controller.rb | ||
| authorize_follow_controller.rb | ||
| home_controller.rb | ||
| media_controller.rb | ||
| remote_follow_controller.rb | ||
| statuses_controller.rb | ||
| stream_entries_controller.rb | ||
| tags_controller.rb | ||