summaryrefslogtreecommitdiff
path: root/lib/http/client.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http/client.myr')
-rw-r--r--lib/http/client.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http/client.myr b/lib/http/client.myr
index ebf0426..4fdf481 100644
--- a/lib/http/client.myr
+++ b/lib/http/client.myr
@@ -149,7 +149,7 @@ const request = {s, method, r, data
match data
| `std.None: /* nothing to do */
| `std.Some d:
- ioput(s, d)
+ iowrite(s, d)
ioput(s, "\r\n")
;;
ioflush(s)