fix content_length == -1 issue.