From 71b470c10749a6ce5795a3d2a02441f96b2af104 Mon Sep 17 00:00:00 2001 From: phact Date: Tue, 7 Oct 2025 15:14:50 -0400 Subject: [PATCH] content type/ --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 36ce54e1..203ab17b 100644 --- a/Makefile +++ b/Makefile @@ -227,7 +227,7 @@ test-ci: JWT_AUTH_READY=false; \ for i in $$(seq 1 60); do \ if curl -k -s https://localhost:9200 -u admin:$${OPENSEARCH_PASSWORD} >/dev/null 2>&1; then \ - if curl -k -s -H "Authorization: Bearer $$TEST_TOKEN" https://localhost:9200/documents/_search -d '{"query":{"match_all":{}}}' 2>&1 | grep -v "Unauthorized" >/dev/null; then \ + if curl -k -s -H "Authorization: Bearer $$TEST_TOKEN" -H "Content-Type: application/json" https://localhost:9200/documents/_search -d '{"query":{"match_all":{}}}' 2>&1 | grep -v "Unauthorized" >/dev/null; then \ echo "✓ OpenSearch JWT auth working after $$((i*2)) seconds"; \ JWT_AUTH_READY=true; \ break; \