We have a rails 5 app where the vast majority of app responses should be html. An additional limited set of Ajax requests expect to be requested by text/plain, and
text/plain