about summary refs log tree commit diff stats
path: root/http-client.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-23 14:25:13 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-23 15:34:20 -0700
commit300a1d6e8033f1766d5203b15ff3ea8570e4b79b (patch)
tree0e3ecd53d33f116aa43d6b859914ff96fd767454 /http-client.mu
parent2e760d6df479b082b22aa78fe7bf6f03667427c0 (diff)
downloadmu-300a1d6e8033f1766d5203b15ff3ea8570e4b79b.tar.gz
3564
Change the interface for reading a URL slightly so that we can directly
use the path in `assume-resources`.
Diffstat (limited to 'http-client.mu')
-rw-r--r--http-client.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/http-client.mu b/http-client.mu
index 8c781e5f..f8e86046 100644
--- a/http-client.mu
+++ b/http-client.mu
@@ -2,7 +2,7 @@
 
 def main [
   local-scope
-  google:&:source:char <- start-reading-from-network 0/real-resources, [google.com], [/]
+  google:&:source:char <- start-reading-from-network 0/real-resources, [google.com/]
   n:num <- copy 0
   buf:&:buffer <- new-buffer 30
   {
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182