import socket

host = "site.com"

sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect((host, 80))
sock.send("HEAD / HTTP/1.1\r\nHost:%s\r\n\r\n" %host) #1
print sock.recv(1024)
9a0975adfaf8ce2c568cf74cd5c4f59a78adff5c
import socket

host = "site.com"

sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect((host, 80))
sock.send("HEAD / HTTP/1.1\r\nHost:%s\r\n\r\n" %host) #1
print sock.recv(1024)