probably we sould return -1, and do chunked streaming in urlconnection