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

Downloading a file with no content-length in its header fails #339

Closed
maximlt opened this issue Sep 21, 2021 · 0 comments · Fixed by #340
Closed

Downloading a file with no content-length in its header fails #339

maximlt opened this issue Sep 21, 2021 · 0 comments · Fixed by #340
Labels
TRIAGE Uncategorized issue

Comments

@maximlt
Copy link
Collaborator

maximlt commented Sep 21, 2021

We have an issue with downloading a CSV file in one of the examples at examples.pyviz.org (holoviz-topics/examples#176). Requesting this file returns a header that doesn't have a 'content-length' entry, which means that no tqdm progress bar is created. The code however expects one and thus fails in this case:

https://github.com/Anaconda-Platform/anaconda-project/blob/3394ac6c7713f949b038952eafc3f90d92f19411/anaconda_project/internal/http_client.py#L86-L88

@maximlt maximlt added the TRIAGE Uncategorized issue label Sep 21, 2021
@maximlt maximlt changed the title Downloading a file with no content-lenght in its header fails Downloading a file with no content-length in its header fails Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TRIAGE Uncategorized issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant