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

Re-attempt upload if taking too long #17

Open
varunchopra opened this issue Feb 9, 2019 · 4 comments
Open

Re-attempt upload if taking too long #17

varunchopra opened this issue Feb 9, 2019 · 4 comments

Comments

@varunchopra
Copy link

Sometimes, it takes very long to get a response and my application gets stuck in limbo. Need to be able to re-attempt upload in case the server doesn't send a response.

Also, consider adding upload_large_file() to the main source?

@mohan3d
Copy link
Owner

mohan3d commented Feb 12, 2019

Hi @chopraaa ,

Thanks for your suggestion, I am thinking about setting upload-large-file as a default upload function since many users are confused with this.

I will check the case with re-attempt and see what can I do, your help is welcome also :)

@varunchopra
Copy link
Author

I can submit a PR for updating upload_file() but not sure how to tackle the re-attempt.

@mohan3d
Copy link
Owner

mohan3d commented Jun 2, 2019

Hello @chopraaa

I have updated pyopenload to support large files, using requests-toolbelt instead of having two different upload methods I preferred to use large-file-upload method as the default uploading method.

for the other issue I will be trying to tackle it as soon as possible.

At the current moment, you can install the latest version and try it.

pip install --upgrade pyopenload

@mohan3d
Copy link
Owner

mohan3d commented Jul 6, 2019

@chopraaa

About your first issue stuck in limbo, now you can check develop branch.

$ pip install git+https://github.com/mohan3d/PyOpenload.git@develop

Now you can set your timeout in OpenLoad

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

No branches or pull requests

2 participants