Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
common
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
common
Commits
9d3b86d3
Commit
9d3b86d3
authored
Jun 25, 2021
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
e6c737a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
HttpUtil.java
src/main/java/com/egolm/common/HttpUtil.java
+1
-1
No files found.
src/main/java/com/egolm/common/HttpUtil.java
View file @
9d3b86d3
...
...
@@ -70,7 +70,7 @@ public class HttpUtil {
return
sslContextDefault
;
}
p
rivate
static
HttpURLConnection
createConnection
(
String
requestUrl
,
Proxy
proxy
)
throws
IOException
{
p
ublic
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"
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment