Let's look at by default what kind of response headers we get when we start with a brand new Rails 4.2.4 application. Now let's say that I want to set a custom response header. That's easy. All I need to do is add following line of code in the controller. Now I see this custom response header. Setting custom response header for assets Let's say that I need that custom response header not only for
![Rails 5 allows setting custom HTTP Headers for assets | BigBinary Blog](https://cdn-ak-scissors.b.st-hatena.com/image/square/df7dcf3e382d2d4b018ba79fc6642260e3fa7070/height=288;version=1;width=512/https%3A%2F%2Fres.cloudinary.com%2Fdpc4i4bdx%2Fimage%2Fupload%2Fbigbinary_blogs%2Fdefault_blog_image.png)