HTTP header X-robots-tag noindex on PDF assets

Hello!
Is it somehow possible to set the HTTP header “X-Robots-Tag” with the value “noindex” for certain assets?

Our content editors would like to have the option to set this for selected assets which are of type PDF.

Best regards
Aleksandar Kamenica