25 writes to ResponseHeadersDataClasses
Microsoft.Extensions.Http.Diagnostics.Tests (25)
Logging\AcceptanceTests.cs (10)
453
options.
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { "test1", FakeTaxonomy.PrivateData } };
460
options.
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { "test2", FakeTaxonomy.PrivateData } };
489
options.
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { "test1", FakeTaxonomy.PrivateData } };
496
options.
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { "test2", FakeTaxonomy.PrivateData } };
523
options.
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { "test1", FakeTaxonomy.PrivateData } };
529
options.
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { "test2", FakeTaxonomy.PrivateData } };
535
options.
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { "test3", FakeTaxonomy.PrivateData } };
541
options.
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { "test4", FakeTaxonomy.PrivateData } };
547
options.
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { "test5", FakeTaxonomy.PrivateData } };
552
options.
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { "test6", FakeTaxonomy.PrivateData } };
Logging\HttpClientLoggerTest.cs (6)
204
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { TestResponseHeader, FakeTaxonomy.PrivateData }, { "Header3", FakeTaxonomy.PrivateData } },
296
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { TestResponseHeader, FakeTaxonomy.PrivateData } },
403
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { TestResponseHeader, FakeTaxonomy.PrivateData } },
499
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { TestResponseHeader, FakeTaxonomy.PrivateData } },
613
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { TestResponseHeader, FakeTaxonomy.PrivateData } },
883
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { TestResponseHeader, FakeTaxonomy.PrivateData } },
Logging\HttpHeadersReaderTest.cs (2)
57
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification>
120
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification>
Logging\HttpRequestReaderTest.cs (6)
62
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { header2.Key, FakeTaxonomy.PrivateData }, { header3.Key, FakeTaxonomy.PrivateData } },
188
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { header2.Key, FakeTaxonomy.PrivateData } },
262
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { header2.Key, FakeTaxonomy.PrivateData } },
393
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { header2.Key, FakeTaxonomy.PrivateData } },
464
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { header2.Key, FakeTaxonomy.PrivateData } },
531
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification> { { header2.Key, FakeTaxonomy.PrivateData } },
Logging\LoggingOptionsTest.cs (1)
93
_sut.
ResponseHeadersDataClasses
= testHeaders;
20 references to ResponseHeadersDataClasses
Microsoft.Extensions.Http.Diagnostics (4)
Logging\Internal\HttpClientLogger.cs (1)
63
_logResponseHeaders = options.
ResponseHeadersDataClasses
.Count > 0;
Logging\Internal\HttpHeadersReader.cs (1)
33
_responseHeadersToLog = options.
ResponseHeadersDataClasses
.ToFrozenDictionary(StringComparer.OrdinalIgnoreCase);
Logging\Internal\HttpRequestReader.cs (1)
88
_logResponseHeaders = options.
ResponseHeadersDataClasses
.Count > 0;
Logging\LoggingOptions.cs (1)
157
/// Keep this option disabled if <see cref="RequestHeadersDataClasses"/> or <see cref="
ResponseHeadersDataClasses
"/>
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (4)
HttpClientFactory.cs (4)
52
options.
ResponseHeadersDataClasses
.Add("Content-Type", FakeTaxonomy.PrivateData);
79
options.
ResponseHeadersDataClasses
.Add("Content-Type", FakeTaxonomy.PrivateData);
125
options.
ResponseHeadersDataClasses
.Add("Content-Type", FakeTaxonomy.PrivateData);
152
options.
ResponseHeadersDataClasses
.Add("Content-Type", FakeTaxonomy.PrivateData);
Microsoft.Extensions.Http.Diagnostics.Tests (12)
Logging\AcceptanceTests.cs (5)
139
o.
ResponseHeadersDataClasses
.Add("ResponseHeader", FakeTaxonomy.PrivateData);
149
o.
ResponseHeadersDataClasses
.Add("ResponseHeader", FakeTaxonomy.PrivateData);
218
x.
ResponseHeadersDataClasses
.Add("ResponseHeader", FakeTaxonomy.PrivateData);
229
x.
ResponseHeadersDataClasses
.Add("ResponseHeader", FakeTaxonomy.PrivateData);
663
x.
ResponseHeadersDataClasses
.Add("ResponseHeader", FakeTaxonomy.PrivateData);
Logging\HttpClientLoggingExtensionsTest.cs (6)
172
options.
ResponseHeadersDataClasses
.Add(responseHeader, FakeTaxonomy.PrivateData);
191
options.
ResponseHeadersDataClasses
.Should().ContainSingle();
192
options.
ResponseHeadersDataClasses
.Should().Contain(responseHeader, FakeTaxonomy.PrivateData);
282
options.
ResponseHeadersDataClasses
.Add(responseHeader, FakeTaxonomy.PrivateData);
301
options.
ResponseHeadersDataClasses
.Should().ContainSingle();
302
options.
ResponseHeadersDataClasses
.Should().Contain(responseHeader, FakeTaxonomy.PrivateData);
Logging\LoggingOptionsTest.cs (1)
95
_sut.
ResponseHeadersDataClasses
.Should().BeEquivalentTo(testHeaders);