-var auth = new Soup.Auth.c_new(Soup.AuthBasic.type, msg, "Basic realm=\"Test\"");
-print(auth);
-print(auth.authenticate);
-auth.authenticate('aaaa','bbbb');
-var authmsg = auth.get_authorization(msg);
+var x = new XMLHttpRequest({
+ onreadystatechange : function()
+ {
+ print("GOT " + x.responseText);
+
+
+ }
+
+
+});
+print(JSON.stringify(x));