motiooon_: have your server set the Content-Length header. i'm assuming you know how big the response body is going to be