test/jdk/java/net/httpclient/BasicRedirectTest.java
branchhttp-client-branch
changeset 56281 7fdd89dabab2
parent 56265 ec34ae013fbe
child 56451 9585061fdb04
--- a/test/jdk/java/net/httpclient/BasicRedirectTest.java	Mon Mar 12 17:30:38 2018 +0000
+++ b/test/jdk/java/net/httpclient/BasicRedirectTest.java	Mon Mar 12 17:52:50 2018 +0000
@@ -95,17 +95,12 @@
                 { httpsURIToLessSecure,  Redirect.ALWAYS        },
                 { https2URIToLessSecure, Redirect.ALWAYS        },
 
-                { httpURI,               Redirect.SAME_PROTOCOL },
-                { httpsURI,              Redirect.SAME_PROTOCOL },
-                { http2URI,              Redirect.SAME_PROTOCOL },
-                { https2URI,             Redirect.SAME_PROTOCOL },
-
-                { httpURI,               Redirect.SECURE        },
-                { httpsURI,              Redirect.SECURE        },
-                { http2URI,              Redirect.SECURE        },
-                { https2URI,             Redirect.SECURE        },
-                { httpURIToMoreSecure,   Redirect.SECURE        },
-                { http2URIToMoreSecure,  Redirect.SECURE        },
+                { httpURI,               Redirect.NORMAL        },
+                { httpsURI,              Redirect.NORMAL        },
+                { http2URI,              Redirect.NORMAL        },
+                { https2URI,             Redirect.NORMAL        },
+                { httpURIToMoreSecure,   Redirect.NORMAL        },
+                { http2URIToMoreSecure,  Redirect.NORMAL        },
         };
     }
 
@@ -177,13 +172,8 @@
                 { httpsURIToLessSecure,  Redirect.NEVER         },
                 { https2URIToLessSecure, Redirect.NEVER         },
 
-                { httpURIToMoreSecure,   Redirect.SAME_PROTOCOL },
-                { http2URIToMoreSecure,  Redirect.SAME_PROTOCOL },
-                { httpsURIToLessSecure,  Redirect.SAME_PROTOCOL },
-                { https2URIToLessSecure, Redirect.SAME_PROTOCOL },
-
-                { httpsURIToLessSecure,  Redirect.SECURE        },
-                { https2URIToLessSecure, Redirect.SECURE        },
+                { httpsURIToLessSecure,  Redirect.NORMAL        },
+                { https2URIToLessSecure, Redirect.NORMAL        },
         };
     }