Commit 9d3b86d3 authored by Quxl's avatar Quxl

x

parent e6c737a4
......@@ -70,7 +70,7 @@ public class HttpUtil {
return sslContextDefault;
}
private static HttpURLConnection createConnection(String requestUrl, Proxy proxy) throws IOException{
public static HttpURLConnection createConnection(String requestUrl, Proxy proxy) throws IOException{
URL HTTP_URL = new URL(requestUrl);
HttpURLConnection connection = (HttpURLConnection) (proxy == null ? HTTP_URL.openConnection() : HTTP_URL.openConnection(proxy));
if (requestUrl.startsWith("https")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment