You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
05-REQUEST
0005-00000018
Copy page
Download PDF
0005-00000018
Problem description​
The request is missing the Content-Length header.​
Root cause​
The user omits the Content-Length header when uploading an object.​
Example​
When uploading an object with the x-tos-content-sha256 header, the request lacks the Content-Length header.​
​
PUT /objectName HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
Date: Fri, 30 Jul 2021 08:05:36 GMT​
Authorization: authorization xxx​
x-tos-content-sha256: xxx​
<put content>​
​
Solution​
Include the correct Content-Length header.​
Last updated: 2025.10.11 17:59:37