fix issue: incorrect http request/response format