1）response增加content-length
bugfix修改if条件不严谨