|
|
@ -51,7 +51,7 @@ func (s s3RemoteStorageMaker) Make(conf *remote_pb.RemoteConf) (remote_storage.R |
|
|
|
sess.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) |
|
|
|
} |
|
|
|
sess.Handlers.Build.PushBack(func(r *request.Request) { |
|
|
|
r.HTTPRequest.Header.Set("User-Agent", "SeaweedFS/"+util.VERSION) |
|
|
|
r.HTTPRequest.Header.Set("User-Agent", "SeaweedFS/"+util.VERSION_NUMBER) |
|
|
|
}) |
|
|
|
sess.Handlers.Build.PushFront(skipSha256PayloadSigning) |
|
|
|
client.conn = s3.New(sess) |
|
|
|