Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for Verify (0.19 seconds)

  1. cmd/server_test.go

    	c.Assert(err, nil)
    
    	// Execute the HTTP request.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// Verify if the Content-Type header is set during the object persists.
    	c.Assert(response.Header.Get("Content-Type"), "image/png")
    
    	// Fetching the object itself and then verify the Content-Type header.
    	request, err = newTestSignedRequest(http.MethodGet, getGetObjectURL(s.endPoint, bucketName, objectName),
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  2. cmd/object-handlers_test.go

    		if rec.Code != testCase.expectedRespStatus {
    			t.Fatalf("Case %d: Expected the response status to be `%d`, but instead found `%d`", i+1, testCase.expectedRespStatus, rec.Code)
    		}
    
    		// Verify response of the V2 signed HTTP request.
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		recV2 := httptest.NewRecorder()
    		// construct HTTP request for Head Object endpoint.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
  3. cmd/object-handlers.go

    		if isSourceEncrypted {
    			// Remove all source encrypted related metadata to
    			// avoid copying them in target object.
    			crypto.RemoveInternalEntries(srcInfo.UserDefined)
    		}
    
    		// do not try to verify encrypted content
    		srcInfo.Reader, err = hash.NewReader(ctx, reader, targetSize, "", "", actualSize)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
  4. cmd/admin-handlers.go

    		return false, false, fmt.Sprintf("not enough usable space available to perform speedtest - expected %s, got %s",
    			humanize.IBytes(capacityNeeded), humanize.IBytes(capacity))
    	}
    
    	// Verify if we can employ autotune without running out of capacity,
    	// if we do run out of capacity, make sure to turn-off autotuning
    	// in such situations.
    	if autotune {
    		newConcurrent := concurrent + (concurrent+1)/2
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  5. cmd/site-replication.go

    	if !updatedAt.IsZero() {
    		mp, ok := globalIAMSys.store.GetMappedPolicy(mapping.Policy, mapping.IsGroup)
    		if ok && mp.UpdatedAt.After(updatedAt) {
    			return nil
    		}
    	}
    
    	// When LDAP is enabled, we verify that the user or group exists in LDAP and
    	// use the normalized form of the entityName (which will be an LDAP DN).
    	userType := IAMUserType(mapping.UserType)
    	isGroup := mapping.IsGroup
    	entityName := mapping.UserOrGroup
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
Back to Top