From d5e086a47bedc93a1ab2d197e0400ef5bc2d0e3d Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 18 Oct 2016 02:54:49 +0200 Subject: Adding application/jrd+json webfinger resource --- config/initializers/mime_types.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/initializers/mime_types.rb') diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb index dc1899682..5a16a14e8 100644 --- a/config/initializers/mime_types.rb +++ b/config/initializers/mime_types.rb @@ -1,4 +1,4 @@ # Be sure to restart your server when you modify this file. -# Add new mime types for use in respond_to blocks: -# Mime::Type.register "text/richtext", :rtf +Mime::Type.register "application/json", :json, %w( text/x-json application/jsonrequest application/jrd+json ) +Mime::Type.register "text/xml", :xml, %w( application/xml application/atom+xml application/xrd+xml ) -- cgit