Switch to direct download when content-length is undefined