Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Moist-Cat committed Feb 2, 2025
1 parent 6c87250 commit 8b4c6ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ptth/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def main(sys_args):

# Prepare output JSON format
output = {
"status": int(response.code),
#"status": response.code,
"status": response.headers,
"body": response.get_body_raw().decode('utf-8') # Assuming body is in bytes and needs to be decoded
}

Expand Down

0 comments on commit 8b4c6ec

Please sign in to comment.