Updates download-deps.py, invalid content header check
Merge pull request #6569 from dumganhar/download-progress

Updates download-deps.py, invalid content header check