fix the bug when content_disposition is nil which will stop the downloading.