I am wondering how can I add X-Robots-Tag to response header with render. I need this tag to cause Google not to index this page, and if it’s already indexed remove it from index
For more information X-Robots-Tag.
In documentation I didn’t find such option.
Did you try
response.headersas shown here?