Python3 version & added respone
$ curl -s -H "X-Something: yeah" localhost:8000 > /dev/null
$ python serv.py
ERROR:root:User-Agent: curl/7.37.1
Host: localhost:8000
Accept: */*
X-Something: yeah
127.0.0.1 - - [05/Mar/2015 11:28:33] "GET / HTTP/1.1" 200 -