In an MVC framework, responsible for defining the header would be the controller or view?
Imagining a situation to download a file, there would be rendering the content, so I imagine that the controller would set the appropriate header to download, correct?
Another point is that I have doubts regarding the mimes ...
by default we use text / html; charset = UTF-8,
the other would be to set the mime type of file to download, is this correct?