Output raw headers

I would like to output raw headers. In particular, I am interested in setting the Content-Security-Policy header, but also others. I could not find anything related to this. Does anyone know how to do that?