modify readHttpBody