From c250b5b48071ffeba55701510e1684cca86e1241 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Wed, 17 May 2023 15:53:25 -0500 Subject: [PATCH] 0.1.8 --- curly.nimble | 2 +- tests/test.nim | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/curly.nimble b/curly.nimble index 901302f..c545d71 100644 --- a/curly.nimble +++ b/curly.nimble @@ -1,4 +1,4 @@ -version = "0.1.7" +version = "0.1.8" author = "Ryan Oldenburg" description = "Makes using libcurl efficiently easy" license = "MIT" diff --git a/tests/test.nim b/tests/test.nim index 1cb2108..e63dbde 100644 --- a/tests/test.nim +++ b/tests/test.nim @@ -6,3 +6,8 @@ curlPool.withHandle curl: let response = curl.get("https://www.google.com") doAssert response.code == 200 doAssert response.body.len > 0 + +curlPool.withHandle curl: + let response = curl.head("https://www.google.com") + doAssert response.code == 200 + doAssert response.body.len == 0