Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot download XML file cause cannot get content-length #11

Open
Amiralgaby opened this issue Mar 16, 2022 · 0 comments
Open

Cannot download XML file cause cannot get content-length #11

Amiralgaby opened this issue Mar 16, 2022 · 0 comments

Comments

@Amiralgaby
Copy link
Contributor

Hi,
I find this problem when I was trying to download a XML file from this url

The called command is :
ruget "https://perso.limos.fr/~sesalva/files/rest-cloud/tp/tp1/files/pom.xml"

The result is :

thread 'main' panicked at 'cannot get content-length...', /home/gabriel/.cargo/registry/src/github.com-1ecc6299db9ec823/ruget-0.4.3/src/lib/downloader/parallel.rs:98:14
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

For wget :
wget $_

--2022-03-16 22:14:21--  https://perso.limos.fr/~sesalva/files/rest-cloud/tp/tp1/files/pom.xml
Résolution de perso.limos.fr (perso.limos.fr)… 193.55.95.57
Connexion à perso.limos.fr (perso.limos.fr)|193.55.95.57|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 3643 (3,6K) [application/xml]
Enregistre : «pom.xml»

pom.xml                                     100%[===========================================================================================>]   3,56K  --.-KB/s    ds 0,001s  

2022-03-16 22:14:21 (6,33 MB/s) - «pom.xml» enregistré [3643/3643]

It's in french but you see that I've downloaded the file :)

Thanks for the work on this project and have a nice day ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant