Skip to content

Commit

Permalink
requested changes
Browse files Browse the repository at this point in the history
added additional http headers, removed most status codes for separate example
  • Loading branch information
DJDevon3 committed Apr 11, 2024
1 parent 4f0c265 commit 908077d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/wifi/requests_wifi_advanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
print(f" | 🆗 Status Code: {response.status_code}")
else:
print(f" | | Status Code: {response.status_code}")
print(f" | Custom User-Agent Header: {headers['User-Agent']}")
print(f" | Content-Type: {content_type}")
print(f" | Response Timestamp: {date}")
print(f" | | Custom User-Agent Header: {headers['User-Agent']}")
print(f" | | Content-Type: {content_type}")
print(f" | | Response Timestamp: {date}")

# Close, delete and collect the response data
response.close()
Expand Down

0 comments on commit 908077d

Please sign in to comment.