defensive-coding-guide/modules/ROOT/examples/Features-TLS-Python-Use.adoc
2022-01-13 20:42:40 +01:00

4 lines
79 B
Text

sock.write("GET / HTTP/1.1\r\nHost: " + host + "\r\n\r\n")
print sock.read()