(HttpContext httpContext, params string[] names)
| 31 | } |
| 32 | |
| 33 | private static string GetHeader(HttpContext httpContext, params string[] names) |
| 34 | { |
| 35 | foreach (var name in names) |
| 36 | { |
| 37 | var value = httpContext.Request.Headers[name].ToString()?.ToUpper() ?? ""; |
| 38 | if (!string.IsNullOrEmpty(value)) |
| 39 | return value; |
| 40 | } |
| 41 | |
| 42 | return ""; |
| 43 | } |
| 44 | } |
nothing calls this directly
no outgoing calls
no test coverage detected