I would like to detect if a header in the current request is present and obtain its value, directly within a Twig template.
I know that craft.app.request
gives access to a few variables like isAjax
that directly check the headers content, but I haven't found a method to directly retrieve a specific header.
Can this be achieved in some way? (preferably not by writing a plugin)