Post example on the very bottom:
http://docs.python.org/library/httplib.htmlYou can then parse the results and evaluate success based on responses (i.e. finding the string "incorrect" would indicated that the attempted failed, so when you get a response that doesn't contain it, you can assume it succeeded). The number of bytes received could also be reviewed because they may be significantly different between successful and failed login responses.