Fixes in http.rest