Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Method (0.16 sec)

  1. cmd/server_test.go

    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	verifyError(c, response, "SignatureDoesNotMatch", "The request signature we calculated does not match the signature you provided. Check your key and signing method.", http.StatusForbidden)
    }
    
    // This tests validate if PUT handler can successfully detect SHA256 mismatch.
    func (s *TestSuiteCommon) TestSHA256Mismatch(c *check) {
    	// generate a random bucket name.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		scheduleReplication(ctx, objInfo, objectAPI, dsc, replication.ObjectReplicationType)
    	}
    
    	setPutObjHeaders(w, objInfo, false)
    	// We must not use the http.Header().Set method here because some (broken)
    	// clients expect the x-amz-copy-source-version-id header key to be literally
    	// "x-amz-copy-source-version-id"- not in canonicalized form, preserve it.
    	if srcOpts.VersionID != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    		name:    name,
    		size:    int64(len(data)),
    		mode:    fileMode,
    		modTime: UTCNow(),
    		isDir:   false,
    		sys:     nil,
    	})
    	if zerr != nil {
    		return zerr
    	}
    	header.Method = zip.Deflate
    	zwriter, zerr := zipWriter.CreateHeader(header)
    	if zerr != nil {
    		return zerr
    	}
    	_, err := io.Copy(zwriter, bytes.NewReader(data))
    	return err
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  4. cmd/object-handlers_test.go

    	}
    
    	// function type for creating signed requests - used to repeat
    	// requests with V2 and V4 signing.
    	type testSignedReqFn func(method, urlStr string, contentLength int64,
    		body io.ReadSeeker, accessKey, secretKey string, metamap map[string]string) (*http.Request,
    		error)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top