@@ -51,10 +51,10 @@ Client.prototype.move = function(bucketSrc, keySrc, bucketDest, keyDest, onret)
5151}
5252
5353Client . prototype . forceMove = function ( bucketSrc , keySrc , bucketDest , keyDest , force , onret ) {
54-
54+
5555 var encodedEntryURISrc = getEncodedEntryUri ( bucketSrc , keySrc ) ;
5656 var encodedEntryURIDest = getEncodedEntryUri ( bucketDest , keyDest ) ;
57- var uri = conf . RS_HOST + '/move/' + encodedEntryURISrc + '/' + encodedEntryURIDest + '/force/' + force ;
57+ var uri = conf . RS_HOST + '/move/' + encodedEntryURISrc + '/' + encodedEntryURIDest + '/force/' + force ;
5858
5959 var digest = util . generateAccessToken ( uri , null ) ;
6060 rpc . postWithoutForm ( uri , digest , onret ) ;
@@ -70,11 +70,11 @@ Client.prototype.copy = function(bucketSrc, keySrc, bucketDest, keyDest, onret)
7070}
7171
7272Client . prototype . forceCopy = function ( bucketSrc , keySrc , bucketDest , keyDest , force , onret ) {
73-
73+
7474 var encodedEntryURISrc = getEncodedEntryUri ( bucketSrc , keySrc ) ;
7575 var encodedEntryURIDest = getEncodedEntryUri ( bucketDest , keyDest ) ;
7676 var uri = conf . RS_HOST + '/copy/' + encodedEntryURISrc + '/' + encodedEntryURIDest + '/force/' + force ;
77-
77+
7878 var digest = util . generateAccessToken ( uri , null ) ;
7979 rpc . postWithoutForm ( uri , digest , onret ) ;
8080}
@@ -117,7 +117,7 @@ function EntryPathPair(src, dest) {
117117}
118118
119119EntryPathPair . prototype . toStr = function ( op , force ) {
120- if ( typeof ( force ) == 'undefined' ) {
120+ if ( typeof ( force ) == 'undefined' ) {
121121
122122 return 'op=/' + op + '/' + this . src . encode ( ) + '/' + this . dest . encode ( ) + '&' ;
123123
@@ -151,7 +151,7 @@ Client.prototype.batchMove = function(entries, onret) {
151151}
152152
153153Client . prototype . forceBatchMove = function ( entries , force , onret ) {
154-
154+
155155 fileHandleForce ( 'move' , entries , force , onret ) ;
156156
157157}
@@ -161,9 +161,9 @@ Client.prototype.batchCopy = function(entries, onret) {
161161}
162162
163163Client . prototype . forceBatchCopy = function ( entries , force , onret ) {
164-
164+
165165 fileHandleForce ( 'copy' , entries , force , onret ) ;
166-
166+
167167}
168168
169169
@@ -256,6 +256,7 @@ function PutPolicy2(putPolicyObj) {
256256 this . callbackHost = putPolicyObj . callbackHost || null ;
257257 this . callbackBody = putPolicyObj . callbackBody || null ;
258258 this . callbackBodyType = putPolicyObj . callbackBodyType || null ;
259+ this . callbackFetchKey = putPolicyObj . callbackFetchKey || null ;
259260
260261 this . persistentOps = putPolicyObj . persistentOps || null ;
261262 this . persistentNotifyUrl = putPolicyObj . persistentNotifyUrl || null ;
0 commit comments