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