|
|
|
@@ -555,6 +555,7 @@ public class HttpUtils { |
|
|
|
* @throws IOException 如果请求失败或发生其他 I/O 错误。 |
|
|
|
*/ |
|
|
|
public static InputStream getIntputStream(String url, Map<String, String> headers) throws IOException { |
|
|
|
clearProxySettings(); |
|
|
|
URL requestUrl = new URL(url); |
|
|
|
HttpURLConnection connection = (HttpURLConnection) requestUrl.openConnection(); |
|
|
|
|
|
|
|
|