public static T SetAuthorizationHeader <T>(this ISetHeaders <T> policyBuilder) where T : IPolicySectionBuilder
 {
     return(policyBuilder.SetHeader(HeaderNames.Authorization, RequestHeader.Get(HeaderNames.Authorization, ""), ExistsAction.Override));
 }
 public static T SetAcceptHeader <T>(this ISetHeaders <T> policyBuilder) where T : IPolicySectionBuilder
 {
     return(policyBuilder.SetHeader(HeaderNames.Accept, JsonMimeType, ExistsAction.Override));
 }
 public static T SetXmlContentTypeHeader <T>(this ISetHeaders <T> policyBuilder) where T : IPolicySectionBuilder
 {
     return(policyBuilder.SetHeader(HeaderNames.ContentType, MediaTypeNames.Text.Xml, ExistsAction.Override));
 }