projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80fa8c2
)
tests/soup.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 23 May 2012 15:22:58 +0000
(23:22 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 23 May 2012 15:22:58 +0000
(23:22 +0800)
tests/soup.js
patch
|
blob
|
history
diff --git
a/tests/soup.js
b/tests/soup.js
index
b1ff12a
..
ebfb3cb
100644
(file)
--- a/
tests/soup.js
+++ b/
tests/soup.js
@@
-34,7
+34,8
@@
var msg = new Soup.Message({method:"GET", uri:uri});
var auth = new Soup.Auth.c_new(Soup.AuthBasic.type, msg, "Basic realm=\"Test\"");
print(auth);
print(auth.authenticate);
-auth.authenticate('aaaa','bbbb');
+var authvals = authdata['git.roojs.com'];
+auth.authenticate(authvals.login ,authvals.password);
var authmsg = auth.get_authorization(msg);
msg.request_headers.append('Authorization', authmsg + '==')