Browse Source

Add content length to filer's requests (#6489)

pull/6491/head
Hadi Zamani 1 week ago
committed by GitHub
parent
commit
9f42ce3f01
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      weed/s3api/s3api_object_handlers_put.go

1
weed/s3api/s3api_object_handlers_put.go

@ -129,6 +129,7 @@ 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…
Cancel
Save