B2.NET icon indicating copy to clipboard operation
B2.NET copied to clipboard

Is the Content-Length header correct when uploading?

Open MrM40 opened this issue 3 years ago • 0 comments

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 :-/

MrM40 avatar Apr 17 '22 17:04 MrM40