Skip to content

Commit 4b15cd3

Browse files
committed
ci: test http response headers
1 parent 304c26e commit 4b15cd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,5 @@ jobs:
6969
COUNT=$(echo $TEST | jq | grep "I'm the inner struct" | wc -l)
7070
test $COUNT -eq 3
7171
72+
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)
73+
echo $TEST | grep "application/json; charset=utf-8"

0 commit comments

Comments
 (0)