Skip to content

Instantly share code, notes, and snippets.

@adeel
Created July 20, 2010 00:25
Show Gist options
  • Save adeel/482257 to your computer and use it in GitHub Desktop.
Save adeel/482257 to your computer and use it in GitHub Desktop.
# How to get the password hint for lib.homelinux.org
import httplib
conn = httplib.HTTPConnection("lib.homelinux.org")
conn.request("HEAD", "/")
print conn.getresponse().getheaders()[3][1].decode("cp1251")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment