A note-taking method using iPythonNotebook
In [7]:
import json
import requests
# from pprint import pprint
r = requests.get("http://localhost:80/")
# headers=json.loads(r.headers)
# headers=json.dumps(r.headers,indent=2)
print( "%s" % (r.text))
print( r.headers )
# TBD: how to style output?