[FIX] http.py: invalid request must return a status code 400