How to discover Content-Type in ApplicationController

Are you using respond_to in the controller's action to set the output type?