From 8fcbe716b2f069480277aa6781782d3e311ee2c0 Mon Sep 17 00:00:00 2001 From: Eugene Kabanov Date: Tue, 24 Jan 2023 01:48:31 +0200 Subject: [PATCH] Add more verbose information about failure in basic auth test. (#351) --- tests/testhttpclient.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/testhttpclient.nim b/tests/testhttpclient.nim index 1017ccf..ec55ddf 100644 --- a/tests/testhttpclient.nim +++ b/tests/testhttpclient.nim @@ -701,6 +701,8 @@ suite "HTTP client testing suite": ("Your browser made it!" in bytesToString(resp.data)): return true else: + echo "RESPONSE STATUS = [", resp.status, "]" + echo "RESPONSE = [", bytesToString(resp.data), "]" return false proc testConnectionManagement(address: TransportAddress): Future[bool] {.