aboutsummaryrefslogtreecommitdiff
path: root/examples/http
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-18 14:03:54 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-18 14:03:54 -0400
commit693caebcfbe47fa8a7d7bf725e2ed1c082eeb7a5 (patch)
tree6fa4277f4a10a25f194dcf1840f1486f4c94d864 /examples/http
parent0ed4f624a9c8e63f1beecc71be18fabca50f58ca (diff)
Remove unused code
Diffstat (limited to 'examples/http')
-rw-r--r--examples/http/http.tm2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/http/http.tm b/examples/http/http.tm
index bbec3308..a4ded7d7 100644
--- a/examples/http/http.tm
+++ b/examples/http/http.tm
@@ -7,8 +7,6 @@ struct HTTPResponse(code:Int, body:Text)
enum _Method(GET, POST, PUT, PATCH, DELETE)
-_curl := !@Memory
-
func _send(method:_Method, url:Text, data:Text?, headers=[:Text])->HTTPResponse:
chunks := @[:Text]
save_chunk := func(chunk:CString, size:Int64, n:Int64):