fix Content-Encoded: chunked for some edge case
Merge pull request #192 from electrolinux/cte-fix

fix Content-Encoded: chunked for some edge case