log requests in http.py