tom: set content-length when body