Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery.common.java
/
utils
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9af8aaa0
authored
Jan 15, 2020
by
Adi Amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bugfix: \n was removed from content bymistake
parent
76785094
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
build.gradle
src/main/java/http/simpleHttpClient/SimpleHttpClient.java
build.gradle
View file @
9af8aaa0
group
'com.ipgallery.common'
group
'com.ipgallery.common'
version
'1.3.
2
'
version
'1.3.
3
'
apply
plugin:
'java'
apply
plugin:
'java'
apply
plugin:
'maven-publish'
apply
plugin:
'maven-publish'
...
...
src/main/java/http/simpleHttpClient/SimpleHttpClient.java
View file @
9af8aaa0
...
@@ -263,7 +263,8 @@ public class SimpleHttpClient {
...
@@ -263,7 +263,8 @@ public class SimpleHttpClient {
StringBuffer
result
=
new
StringBuffer
();
StringBuffer
result
=
new
StringBuffer
();
String
line
=
""
;
String
line
=
""
;
while
((
line
=
rd
.
readLine
())
!=
null
)
{
while
((
line
=
rd
.
readLine
())
!=
null
)
{
line
=
CleanUnexpectedCharacters
(
line
);
line
=
CleanUnexpectedCharacters
(
line
);
line
+=
'\n'
;
result
.
append
(
line
);
result
.
append
(
line
);
}
}
content
=
result
.
toString
();
content
=
result
.
toString
();
...
...
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