From 4b15cd3a8b74d638a80e4b35d56ba99f4a91b7ca Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Mon, 4 Nov 2024 15:09:41 -0800 Subject: [PATCH] ci: test http response headers --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6f8e86..c8eb68d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,3 +69,5 @@ jobs: COUNT=$(echo $TEST | jq | grep "I'm the inner struct" | wc -l) test $COUNT -eq 3 + TEST=$(extism call zig-out/bin/basic-example.wasm http_get --input '' --allow-host jsonplaceholder.typicode.com --enable-http-response-headers --log-level debug 2>&1) + echo $TEST | grep "application/json; charset=utf-8" \ No newline at end of file