You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
URGENT: We need the webapp to run on a server with HTTPS #16
WE CAN HTTPS OUR SERVER BUT NOT HUMAN.IO SERVERS (YET).... IS IT POSSIBLE TO WRAP THEIR COMMANDS URL CALLS UP IN HTTPS'd format i.e. FETCH FROM HUMAN.IO USING python's urllib.
Can we use this approach in a .cgi file?
#!/usr/bin/python
import urllib
Activity
samthetechie commentedon Oct 20, 2012
WE CAN HTTPS OUR SERVER BUT NOT HUMAN.IO SERVERS (YET).... IS IT POSSIBLE TO WRAP THEIR COMMANDS URL CALLS UP IN HTTPS'd format i.e. FETCH FROM HUMAN.IO USING python's urllib.
Can we use this approach in a .cgi file?
#!/usr/bin/python
import urllib
def main():
sock = urllib.urlopen("http://human.io/t/EoJr8vkzTDoYfBgGQ87ppfA18ZRL7EQsbw9cAEGt5Nk")
htmlSource = sock.read()
sock.close()
print "Content-type: text/html"
print
print htmlSource
if name == "main":
main()
samthetechie commentedon Oct 20, 2012
and then maybe include: in the .shtml file?
Gaffen commentedon Dec 7, 2012
Was this completed?