mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-07 14:57:48 +02:00
Update s3api_object_handlers_put.go
This commit is contained in:
1 parent
20ab0960a3
commit
f24a50e001
1 file changed
-5
@@ -64,11 +64,6 @@ func (s3a *S3ApiServer) PutObjectHandler(w http.ResponseWriter, r *http.Request)
|
||||
// http://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html
|
||||
|
||||
bucket, object := s3_constants.GetBucketAndObject(r)
|
||||
authHeader := r.Header.Get("Authorization")
|
||||
authPreview := authHeader
|
||||
if len(authHeader) > 50 {
|
||||
authPreview = authHeader[:50] + "..."
|
||||
}
|
||||
glog.V(3).Infof("PutObjectHandler %s %s", bucket, object)
|
||||
|
||||
_, err := validateContentMd5(r.Header)
|
||||
|
||||
Reference in new issue
Block a user