It is the only way to control indexing for non-HTML files such as PDFs and images. A forgotten X-Robots-Tag: noindex can silently remove pages from search results.
Check your headers with the HTTP Header Checker.
SEO glossary
An HTTP response header that gives indexing instructions such as noindex or nofollow, like the meta robots tag but in the headers.
It is the only way to control indexing for non-HTML files such as PDFs and images. A forgotten X-Robots-Tag: noindex can silently remove pages from search results.
Check your headers with the HTTP Header Checker.