Advertisement
gauravssnl

httplib_debug

Sep 28th, 2016
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. # httplib_debug.py
  2. import httplib
  3. httplib.HTTPConnection.debuglevel=1
  4. import urllib
  5. url="http://cmyip.com"
  6. html=urllib.urlopen(url).read()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement