Add more verbose information about failure in basic auth test. (#351)

This commit is contained in:
Eugene Kabanov 2023-01-24 01:48:31 +02:00 committed by GitHub
parent 3d532b6d4a
commit 8fcbe716b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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] {.