From 3cc7a976dde8bd1a0c644a0f9f69985845c100e0 Mon Sep 17 00:00:00 2001 From: Moist-Cat Date: Sun, 2 Feb 2025 12:26:56 -0500 Subject: [PATCH] test --- src/ptth/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ptth/cli.py b/src/ptth/cli.py index c16f3b3..33faf43 100644 --- a/src/ptth/cli.py +++ b/src/ptth/cli.py @@ -68,7 +68,7 @@ def main(sys_args): # Prepare output JSON format output = { #"status": response.code, - "status": response.headers, + "status": dict(response.headers), "body": response.get_body_raw().decode('utf-8') # Assuming body is in bytes and needs to be decoded }