14 references to NameValueHeaderValue
Microsoft.AspNetCore.OutputCaching.Tests (4)
OutputCacheTests.cs (4)
173
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("no-cache"));
901
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("From"));
906
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("From"));
911
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("From"));
Microsoft.AspNetCore.ResponseCaching.Tests (7)
ResponseCachingTests.cs (7)
185
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("no-cache"));
861
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("From"));
866
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("Max-Forwards"));
871
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("From"));
896
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("From"));
901
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("From"));
906
client.DefaultRequestHeaders.Pragma.Add(new System.Net.Http.Headers.
NameValueHeaderValue
("From"));
System.Net.Http (3)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (3)
778
protected NameValueWithParametersHeaderValue(System.Net.Http.Headers.NameValueWithParametersHeaderValue source) :
base
(default(string)) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); }
779
public NameValueWithParametersHeaderValue(string name) :
base
(default(string)) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); }
780
public NameValueWithParametersHeaderValue(string name, string? value) :
base
(default(string)) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); }