Concent type text html still downloads in browser
By default, a "text" response from a Rails controller will still be a sent as text/html : While this may not be too relevant for a Browser client, the response's content type is render html: 'Hello' response.body # => "Hello" response.content_type Spreewald: Content-Disposition not set when testing a download's filename