Skip to content

Commit 2648133

Browse files
authored
Merge pull request #130 from adafruit/anecdata-patch-2
Fix URL to get HTTP 200 status code
2 parents 9b25537 + 682b2c8 commit 2648133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/esp32spi_tcp_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
s.connect(socketaddr)
3838

3939
print("Sending")
40-
s.send(b"HEAD / HTTP/1.0\r\n\r\n")
40+
s.send(b"GET /testwifi/index.html HTTP/1.0\r\n\r\n")
4141

4242
print("Receiving")
4343
print(s.recv(1024))

0 commit comments

Comments
 (0)