Using Python to send http commands

I now play with Python to communicate with HTTP servers. The idea that signals are sent to a server and the answer is subsequently analysed. My first attempt is shown below:

import urllib3
http = urllib3.PoolManager()
resp = http.request('GET', 'http://van-maanen.com')
print(resp.data)
print(resp.status)
 

the output can be seen as a series of symbols that can be stored in an html file that can be read with any Internet browser.

Door tom