12 instantiations of StringWithQualityHeaderValue
Aspire.Dashboard.Tests (2)
Integration\ResponseCompressionTests.cs (2)
26request.Headers.AcceptEncoding.Add(new StringWithQualityHeaderValue("br")); 48request.Headers.AcceptEncoding.Add(new StringWithQualityHeaderValue("br"));
IIS.FunctionalTests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\CompressionTests.cs (2)
135client.DefaultRequestHeaders.AcceptEncoding.Add(new StringWithQualityHeaderValue("gzip")); 136client.DefaultRequestHeaders.AcceptEncoding.Add(new StringWithQualityHeaderValue("identity", 0));
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (2)
128request.Headers.AcceptEncoding.Add(new StringWithQualityHeaderValue("gzip")); 146request.Headers.AcceptEncoding.Add(new StringWithQualityHeaderValue("gzip"));
IISExpress.FunctionalTests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\CompressionTests.cs (2)
135client.DefaultRequestHeaders.AcceptEncoding.Add(new StringWithQualityHeaderValue("gzip")); 136client.DefaultRequestHeaders.AcceptEncoding.Add(new StringWithQualityHeaderValue("identity", 0));
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (2)
128request.Headers.AcceptEncoding.Add(new StringWithQualityHeaderValue("gzip")); 146request.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"));
7 references to StringWithQualityHeaderValue
Microsoft.AspNetCore.ResponseCompression.Tests (1)
ResponseCompressionMiddlewareTest.cs (1)
1281request.Headers.AcceptEncoding.Add(System.Net.Http.Headers.StringWithQualityHeaderValue.Parse(requestAcceptEncodings[i]));
netstandard (1)
netstandard.cs (1)
1118[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.StringWithQualityHeaderValue))]
System.Net.Http (5)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (5)
681public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.StringWithQualityHeaderValue> AcceptCharset { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 682public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.StringWithQualityHeaderValue> AcceptEncoding { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 683public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.StringWithQualityHeaderValue> AcceptLanguage { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 874public static System.Net.Http.Headers.StringWithQualityHeaderValue Parse(string input) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } 877public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? input, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Net.Http.Headers.StringWithQualityHeaderValue? parsedValue) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); }