Skip to content

Commit c7534e1

Browse files
authored
support new ARU security gate (#246)
1 parent 50b15db commit c7534e1

File tree

1 file changed

+1
-0
lines changed
  • imagetool/src/main/java/com/oracle/weblogic/imagetool/util

1 file changed

+1
-0
lines changed

imagetool/src/main/java/com/oracle/weblogic/imagetool/util/HttpUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ public static HttpClient getOraClient(String userId, String password) {
132132
HttpClient result = HttpClientBuilder.create()
133133
.setDefaultRequestConfig(config.build())
134134
.setRetryHandler(retryHandler())
135+
.setUserAgent("Wget/1.10")
135136
.setDefaultCookieStore(cookieStore).useSystemProperties()
136137
.setDefaultCredentialsProvider(credentialsProvider).build();
137138
logger.exiting();

0 commit comments

Comments
 (0)