tests/soup.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 23 May 2012 15:15:01 +0000 (23:15 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 23 May 2012 15:15:01 +0000 (23:15 +0800)
tests/soup.js

index 0504d8b..19f2d3d 100644 (file)
@@ -1,10 +1,12 @@
 #!/usr/bin/env seed
 
 Soup = imports.gi.Soup;
+GLib = imports.gi.GLib;
 
 var session = new Soup.SessionSync();
+File  = imports['../File.js'].File;
 
-
+var netrc = File.read(GLib.get_home_dir() + "/.netrc");
 
 
 // Soup.URI is a struct.