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
06c5b9ca
authored
May 23, 2019
by
Adi Amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bugfix: null while analyzing checking for binary content
parent
21877950
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
src/main/java/http/simpleHttpClient/SimpleHttpClient.java
src/main/java/http/simpleHttpClient/SimpleHttpRequest.java
src/main/java/http/simpleHttpClient/SimpleHttpClient.java
View file @
06c5b9ca
This diff is collapsed.
Click to expand it.
src/main/java/http/simpleHttpClient/SimpleHttpRequest.java
View file @
06c5b9ca
...
...
@@ -133,7 +133,7 @@ public class SimpleHttpRequest {
return
pes
.
escape
(
queryString
);
}
public
Http
UriRequest
build
()
throws
UnsupportedEncodingException
{
public
Http
RequestBase
build
()
throws
UnsupportedEncodingException
{
switch
(
method
)
{
case
GET:
return
buildGetRequest
();
...
...
@@ -151,7 +151,7 @@ public class SimpleHttpRequest {
// http://domain:port/path?query_string
protected
Http
UriRequest
buildGetRequest
()
{
protected
Http
RequestBase
buildGetRequest
()
{
// build URI
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
protocol
+
"://"
);
...
...
@@ -179,7 +179,7 @@ public class SimpleHttpRequest {
return
getRequest
;
}
protected
Http
UriRequest
buildPostRequest
()
{
protected
Http
RequestBase
buildPostRequest
()
{
// build URI
StringBuilder
sb
=
new
StringBuilder
();
...
...
@@ -220,7 +220,7 @@ public class SimpleHttpRequest {
return
postRequest
;
}
protected
Http
UriRequest
buildPutRequest
()
{
protected
Http
RequestBase
buildPutRequest
()
{
// build URI
StringBuilder
sb
=
new
StringBuilder
();
...
...
@@ -262,7 +262,7 @@ public class SimpleHttpRequest {
return
putRequest
;
}
protected
Http
UriRequest
buildDeleteRequest
()
{
protected
Http
RequestBase
buildDeleteRequest
()
{
// build URI
StringBuilder
sb
=
new
StringBuilder
();
...
...
@@ -290,7 +290,7 @@ public class SimpleHttpRequest {
return
deleteRequest
;
}
protected
Http
UriRequest
buildPatchRequest
()
{
protected
Http
RequestBase
buildPatchRequest
()
{
// build URI
StringBuilder
sb
=
new
StringBuilder
();
...
...
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