I'm using responses as string and by default it results in Transfer-Encoding: chunked
There is some default way to generate Content-Length ?
No, but there is some example of you look in the examples. Might be folded into a json encoder one. I filed an issue some time ago about this, which resulted in that example.