I\'m looking to add custom http headers to a Ruby on Rails app that is currently hosted on Heroku.
In rails 4, set the response headers in the application.rb or respective environment files. Once you done that, you can override the header value wherever you required in the controller. Refer this url for more details.