add content-type and content-length limitation,use stream method to open http req