We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Uploader
When using the uploader.py file like so:
uploader.py
from tusclient.uploader import Uploader my_uploader = Uploader('path/to/file.ext', url='http://master.tus.io/files/abcdef123456', chunk_size=200)
a 'NoneType' object has no attribute 'headers' error is raised. This is because self.headers is never set, resulting in the error when self.getoffset() is called: https://github.com/tus/tus-py-client/blob/master/tusclient/uploader.py#L92
'NoneType' object has no attribute 'headers'
self.headers
self.getoffset()
The text was updated successfully, but these errors were encountered:
@peixian thank you for reporting. I'll work on this, but please also feel free to submit a PR :)
Sorry, something went wrong.
fix: empty client headers when no client #14
4ca6b71
this issue is fixed here
No branches or pull requests
When using the
uploader.py
file like so:a
'NoneType' object has no attribute 'headers'
error is raised. This is becauseself.headers
is never set, resulting in the error whenself.getoffset()
is called: https://github.com/tus/tus-py-client/blob/master/tusclient/uploader.py#L92The text was updated successfully, but these errors were encountered: