Skip to content

Commit

Permalink
Fix response printing.
Browse files Browse the repository at this point in the history
  • Loading branch information
nubtron committed Nov 18, 2024
1 parent cbbd6c0 commit eb46ea7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .ddev/ci/scripts/traces.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def replay(*, record_file: str, port: int) -> None:
path = record['path']
body = b64decode(record['body'])
conn.request('PUT', path, body=body, headers=record['headers'])
print(conn.getresponse().status, conn.getresponse().reason)
response = conn.getresponse()
print(response.status, response.reason)


def main():
Expand Down

0 comments on commit eb46ea7

Please sign in to comment.