@@ -47,7 +47,7 @@ private static IEnumerable<object[]> GetMethods(params string[] methods)
47
47
{
48
48
foreach ( string method in methods )
49
49
{
50
- foreach ( Uri serverUri in Configuration . Http . EchoServerList )
50
+ foreach ( Uri serverUri in Configuration . Http . GetEchoServerList ( ) )
51
51
{
52
52
yield return new object [ ] { method , serverUri } ;
53
53
}
@@ -164,6 +164,7 @@ public async Task GetAsync_ServerNeedsAuthAndSetCredential_StatusCodeOK(Configur
164
164
165
165
[ OuterLoop ( "Uses external servers" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . LocalEchoServerIsNotAvailable ) ) ]
166
166
[ Theory , MemberData ( nameof ( RemoteServersMemberData ) ) ]
167
+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/101115" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsFirefox ) ) ]
167
168
public async Task GetAsync_ServerNeedsAuthAndNoCredential_StatusCodeUnauthorized ( Configuration . Http . RemoteServer remoteServer )
168
169
{
169
170
using ( HttpClient client = CreateHttpClientForRemoteServer ( remoteServer ) )
@@ -275,7 +276,7 @@ public static IEnumerable<object[]> RemoteServersHeaderValuesAndUris()
275
276
276
277
public static IEnumerable < ( Configuration . Http . RemoteServer remoteServer , Uri uri ) > RemoteServersAndHeaderEchoUris ( )
277
278
{
278
- foreach ( Configuration . Http . RemoteServer remoteServer in Configuration . Http . RemoteServers )
279
+ foreach ( Configuration . Http . RemoteServer remoteServer in Configuration . Http . GetRemoteServers ( ) )
279
280
{
280
281
yield return ( remoteServer , remoteServer . EchoUri ) ;
281
282
yield return ( remoteServer , remoteServer . RedirectUriForDestinationUri (
@@ -464,7 +465,7 @@ public static IEnumerable<object[]> VerifyUploadServersStreamsAndExpectedData
464
465
{
465
466
get
466
467
{
467
- foreach ( Configuration . Http . RemoteServer remoteServer in Configuration . Http . RemoteServers ) // target server
468
+ foreach ( Configuration . Http . RemoteServer remoteServer in Configuration . Http . GetRemoteServers ( ) ) // target server
468
469
foreach ( bool syncCopy in BoolValues ) // force the content copy to happen via Read/Write or ReadAsync/WriteAsync
469
470
{
470
471
byte [ ] data = new byte [ 1234 ] ;
@@ -868,7 +869,7 @@ public async Task SendAsync_SendRequestUsingNoBodyMethodToEchoServerWithContent_
868
869
869
870
public static IEnumerable < object [ ] > SendAsync_SendSameRequestMultipleTimesDirectlyOnHandler_Success_MemberData ( )
870
871
{
871
- foreach ( var server in Configuration . Http . RemoteServers )
872
+ foreach ( var server in Configuration . Http . GetRemoteServers ( ) )
872
873
{
873
874
yield return new object [ ] { server , "12345678910" , 0 } ;
874
875
yield return new object [ ] { server , "12345678910" , 5 } ;
@@ -909,7 +910,7 @@ public async Task SendAsync_SendSameRequestMultipleTimesDirectlyOnHandler_Succes
909
910
910
911
public static IEnumerable < object [ ] > RemoteServersAndRedirectStatusCodes ( )
911
912
{
912
- foreach ( Configuration . Http . RemoteServer remoteServer in Configuration . Http . RemoteServers )
913
+ foreach ( Configuration . Http . RemoteServer remoteServer in Configuration . Http . GetRemoteServers ( ) )
913
914
{
914
915
yield return new object [ ] { remoteServer , 300 } ;
915
916
yield return new object [ ] { remoteServer , 301 } ;
@@ -1228,7 +1229,7 @@ public async Task DefaultHeaders_SetCredentials_ClearedOnRedirect(Configuration.
1228
1229
1229
1230
public static IEnumerable < object [ ] > RemoteServersAndCompressionUris ( )
1230
1231
{
1231
- foreach ( Configuration . Http . RemoteServer remoteServer in Configuration . Http . RemoteServers )
1232
+ foreach ( Configuration . Http . RemoteServer remoteServer in Configuration . Http . GetRemoteServers ( ) )
1232
1233
{
1233
1234
yield return new object [ ] { remoteServer , remoteServer . GZipUri } ;
1234
1235
@@ -1329,6 +1330,7 @@ public async Task GetAsync_SetAutomaticDecompression_HeadersRemoved(Configuratio
1329
1330
[ OuterLoop ( "Uses external servers" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . LocalEchoServerIsNotAvailable ) ) ]
1330
1331
[ Theory ]
1331
1332
[ MemberData ( nameof ( Http2Servers ) ) ]
1333
+ [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/101115" , typeof ( PlatformDetection ) , nameof ( PlatformDetection . IsFirefox ) ) ]
1332
1334
public async Task SendAsync_RequestVersion20_ResponseVersion20IfHttp2Supported ( Uri server )
1333
1335
{
1334
1336
// Sync API supported only up to HTTP/1.1
0 commit comments