mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-06-28 15:41:13 +08:00
Revert "Add content length to filer's requests (#6489)"
This reverts commit 9f42ce3f01
.
This commit is contained in:
parent
8f45e4589c
commit
7fd42f5d06
@ -129,7 +129,6 @@ func (s3a *S3ApiServer) putToFiler(r *http.Request, uploadUrl string, dataReader
|
||||
query.Add("collection", s3a.getCollectionName(bucket))
|
||||
proxyReq.URL.RawQuery = query.Encode()
|
||||
}
|
||||
proxyReq.ContentLength = r.ContentLength
|
||||
|
||||
for header, values := range r.Header {
|
||||
for _, value := range values {
|
||||
|
Loading…
Reference in New Issue
Block a user