We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59a1201 commit 00a9590Copy full SHA for 00a9590
examples/network/http_client.py
@@ -19,7 +19,7 @@ def main(use_stream=False):
19
# directly, but the line below is needed for CPython.
20
s = s.makefile("rwb", 0)
21
s.write(b"GET / HTTP/1.0\r\n\r\n")
22
- print(s.readall())
+ print(s.read())
23
else:
24
s.send(b"GET / HTTP/1.0\r\n\r\n")
25
print(s.recv(4096))
0 commit comments