GitBucket
Toggle navigation
Sign in
Files
Branches
2
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Fork
: 0
y-ota
/
RestfulChecker
Browse code
http://sasakure.hatenablog.com/entry/20120616/1339806773
master
test
1 parent
e64328b
commit
e371f08e5a84f1b42efa00170efa8dd8421f828e
y-ota
authored
on 22 Nov 2018
Patch
Unified
Split
Showing
1 changed file
+1
-1
■
■
■■■
src/org/ntlab/radishforandroidstudio/framework/network/HttpAsyncConnection.java
Ignore Space
Show notes
View
2
■
■
■■■
src/org/ntlab/radishforandroidstudio/framework/network/HttpAsyncConnection.java
// POST or GET or PUT or DELETE
conn
.
setRequestMethod
(
method
);
if
(
formParams
.
length
()
>
0
)
{
conn
.
setDoOutput
(
true
);
if
(
method
.
equals
(
"POST"
))
conn
.
setDoOutput
(
true
);
if
(
clientSessionID
!=
null
)
{
conn
.
setRequestProperty
(
"Cookie"
,
clientSessionID
);
}
OutputStream
out
=
conn
.
getOutputStream
();
Show line notes below