Posted by Joey Maresca on Feb 22
For folks who want code that runs, I did you all a favor, fixed the ident
issues, removed unused libraries, fixed SSL certificate validation checks
causing failures, fixed typos that prevent running, killed dead code, made
sure it actually used the Port input. All while stripping out the
unnecessary fluff. It may not be perfect but it will at least now run.
import string, sys
import ssl, socket, httplib
if __name__ == ‘__main__’:…