mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-18 21:57:58 +08:00
Revert "Add content length to filer's requests (#6489)"
This reverts commit 9f42ce3f01
.
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user