public void ApplyToResponse(HttpResponseMessage response, PipelineOptions pipelineOptions) { pipelineOptions.Use<ExpectResponseHeaders>(option => AssertResponseHeadersAreExpected(option, response.AllHeadersAsStrings())); }