Added basic http connection code

This commit is contained in:
benjamyn committed 2017-05-22 01:31:39 +10:00
1 parent b738276519
commit 09c6c6eadc
3 files changed
+8 -4

No files matched your search

-1
View File
@@ -1 +0,0 @@
test content for git tutorial
+8
View File
@@ -0,0 +1,8 @@
#!/bin/python2.7
import httplib
conn = httplib.HTTPSConnection("www.python.org")
conn.request("GET", "/")
r1 = conn.getresponse()
print r1.read()
-3
View File
@@ -1,3 +0,0 @@
#!/bin/python2.7
print "I hope this works :D"