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

Is the Content-Length header correct when uploading? #53

Open
MrM40 opened this issue Apr 17, 2022 · 0 comments
Open

Is the Content-Length header correct when uploading? #53

MrM40 opened this issue Apr 17, 2022 · 0 comments

Comments

@MrM40
Copy link

MrM40 commented Apr 17, 2022

When uploading a file the request must include a content-length header which consist of the length of the file + the length of the 40 bytes SHA1. But it seem to me the code only sent the length of the file and doesn't include the length of the SHA1.

FileUploadRequestGenerators.cs, link 53

B2 API documentation

Or am I just not capable to reading the code :-/

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