add content-length for download