public bool Has(string key) { return(_request.HasHeader(key)); }
/// <summary> /// Is an Http header present in the current request? /// </summary> /// <param name="request"></param> /// <param name="key"></param> /// <returns></returns> public static bool HasHeader(this ICurrentHttpRequest request, HttpRequestHeader key) { return(request.HasHeader(HttpRequestHeaders.HeaderNameFor(key))); }