We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c070f6e commit 88eebf2Copy full SHA for 88eebf2
examples/requests_advanced.py
@@ -39,7 +39,7 @@
39
40
# Initialize a requests object with a socket and esp32spi interface
41
socket.set_interface(esp)
42
-requests.set_socket(socket)
+requests.set_socket(socket, esp)
43
44
JSON_GET_URL = "http://httpbin.org/get"
45
@@ -59,8 +59,5 @@
59
print("Response HTTP Status Code: ", response.status_code)
60
print("-" * 60)
61
62
-# Read Response, as raw bytes instead of pretty text
63
-print("Raw Response: ", response.content)
64
-
65
# Close, delete and collect the response data
66
response.close()
0 commit comments