aboutsummaryrefslogtreecommitdiff
path: root/test/03-api/01-methods/head.janet
diff options
context:
space:
mode:
Diffstat (limited to 'test/03-api/01-methods/head.janet')
-rw-r--r--test/03-api/01-methods/head.janet4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/03-api/01-methods/head.janet b/test/03-api/01-methods/head.janet
new file mode 100644
index 0000000..6b36654
--- /dev/null
+++ b/test/03-api/01-methods/head.janet
@@ -0,0 +1,4 @@
+(use ../../../jurl)
+(def res ((->> "https://pie.dev/anything"
+ (http :head))))
+(assert (= 200 (res :status)))