Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

httplib python

# Only support Python version 2 , instead you can use request

import httplib
conn = httplib.HTTPSConnection("www.python.org")
conn.request("GET", "/")
r1 = conn.getresponse()
print r1.status, r1.reason
 
PREVIOUS NEXT
Tagged: #httplib #python
ADD COMMENT
Topic
Name
5+8 =