-
Notifications
You must be signed in to change notification settings - Fork 34
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
Unable to create an empty file #57
Comments
I don't think this is me:
|
Although I think if you create a writer and immediately Close it, you should get an empty object as well, and right now you don't, with no error. |
I couldn't open a bug on the backblaze site because the recaptcha form was broken, but I'll try again later. |
It's not just B2 either, this works for uploading an empty file:
|
It looks like the http lib is setting the transfer encoding to "chunked" and then sending a non-empty body for reasons I don't yet understand. |
I think I want to explicitly set the encoding to "identity" but uh, that's not working. |
Cool. Coolcoolcool. |
Trying to create an empty file:
produces the error:
b2_upload_file: 400: Missing header: Content-Length
The text was updated successfully, but these errors were encountered: