How to get http context headers in view template

hello,
I want to get Repose.Header[“mystring”].ToUpper() in .cshtml files using .net core 2.2

thank you

.NET Foundation Website | Blog | Projects | Code of Conduct