bug fixed: cannot download file without header named “Content-Length”