Skip to content

Instantly share code, notes, and snippets.

@jldugger
Created May 23, 2017 22:57
Show Gist options
  • Save jldugger/7aab2b9d6091fb39f278d9ab6a097184 to your computer and use it in GitHub Desktop.
Save jldugger/7aab2b9d6091fb39f278d9ab6a097184 to your computer and use it in GitHub Desktop.
#!/bin/python
import urllib
works = 'http://osuosl.org'
broken = 'https://osuosl.org'
urllib.urlopen(works)
print 'HTTP works'
urllib.urlopen(broken)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment