Revert "Improve http_req for error" commits