Skip to content

Instantly share code, notes, and snippets.

@radiosilence
Created April 19, 2010 03:03
Show Gist options
  • Save radiosilence/370714 to your computer and use it in GitHub Desktop.
Save radiosilence/370714 to your computer and use it in GitHub Desktop.
s = create_connection( ( self.server.host, self.server.port ) )
s.sendall( "GET / HTTP/1.0" )
r = s.recv( 64 )
s.close()
print r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment