Modify headers

how can i modify the headers sent to the browser?
i have tried using response.headers but it generates a server error. i
tried also just doing headers[]= but got an error also. i saw somewhere
saying to do @response.headers.
so i am a bit confused now…3 different approchases, and non worked :slight_smile:

i’d like to do: response.headers[‘expire’] = 0

where should i put this? i’d like this to be for the entire application,
so my first thought was application.rb under controllers.

thanks…