Created
July 20, 2010 00:25
-
-
Save adeel/482257 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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