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
   {