Fix bug emitting info when httpResponseBody is null.