14 references to StringWithQualityHeaderValue
Aspire.Dashboard.Tests (2)
Integration\ResponseCompressionTests.cs (2)
27
request.Headers.AcceptEncoding.Add(new
StringWithQualityHeaderValue
("br"));
49
request.Headers.AcceptEncoding.Add(new
StringWithQualityHeaderValue
("br"));
IIS.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\CompressionTests.cs (1)
136
client.DefaultRequestHeaders.AcceptEncoding.Add(new
StringWithQualityHeaderValue
("gzip"));
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (2)
129
request.Headers.AcceptEncoding.Add(new
StringWithQualityHeaderValue
("gzip"));
147
request.Headers.AcceptEncoding.Add(new
StringWithQualityHeaderValue
("gzip"));
IISExpress.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\CompressionTests.cs (1)
136
client.DefaultRequestHeaders.AcceptEncoding.Add(new
StringWithQualityHeaderValue
("gzip"));
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (2)
129
request.Headers.AcceptEncoding.Add(new
StringWithQualityHeaderValue
("gzip"));
147
request.Headers.AcceptEncoding.Add(new
StringWithQualityHeaderValue
("gzip"));
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
ContentNegotiationTest.cs (1)
348
request.Headers.AcceptCharset.Add(new
StringWithQualityHeaderValue
("utf-8"));
Microsoft.AspNetCore.StaticAssets.Tests (1)
StaticAssetsIntegrationTests.cs (1)
439
message.Headers.AcceptEncoding.Add(new
StringWithQualityHeaderValue
("gzip"));
System.Net.Http (4)
System\Net\Http\Headers\StringWithQualityHeaderValue.cs (1)
110
parsedValue = new
StringWithQualityHeaderValue
(value);
System\Net\Http\SocketsHttpHandler\DecompressionHandler.cs (3)
22
private static readonly StringWithQualityHeaderValue s_gzipHeaderValue = new
StringWithQualityHeaderValue
(Gzip);
23
private static readonly StringWithQualityHeaderValue s_deflateHeaderValue = new
StringWithQualityHeaderValue
(Deflate);
24
private static readonly StringWithQualityHeaderValue s_brotliHeaderValue = new
StringWithQualityHeaderValue
(Brotli);