Use http.StatusInternalServerError constant instead of 500