Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 229 for Post (0.18 sec)

  1. cmd/encryption-v1.go

    // except for zero size objects.
    func (o *ObjectInfo) EncryptedSize() int64 {
    	size, err := sio.EncryptedSize(uint64(o.Size))
    	if err != nil {
    		// This cannot happen since AWS S3 allows parts to be 5GB at most
    		// sio max. size is 256 TB
    		reqInfo := (&logger.ReqInfo{}).AppendTags("size", strconv.FormatUint(size, 10))
    		ctx := logger.SetReqInfo(GlobalContext, reqInfo)
    		logger.CriticalIf(ctx, err)
    	}
    	return int64(size)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  2. cmd/storage-rest-server.go

    		// Windows can lock up with this optimization, so we fall back to regular copy.
    		sr, ok := rc.(*sendFileReader)
    		if ok {
    			// Sendfile sends in 4MiB chunks per sendfile syscall which is more than enough
    			// for most setups.
    			_, err = rf.ReadFrom(sr.Reader)
    			if !xnet.IsNetworkOrHostDown(err, true) { // do not need to log disconnected clients
    				storageLogIf(r.Context(), err)
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  3. cmd/auth-handler.go

    	return ok
    }
    
    // Verify request has AWS PreSign Version '2'.
    func isRequestPresignedSignatureV2(r *http.Request) bool {
    	_, ok := r.Form[xhttp.AmzAccessKeyID]
    	return ok
    }
    
    // Verify if request has AWS Post policy Signature Version '4'.
    func isRequestPostPolicySignatureV4(r *http.Request) bool {
    	mediaType, _, err := mime.ParseMediaType(r.Header.Get(xhttp.ContentType))
    	if err != nil {
    		return false
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    	}
    
    	return di, err
    }
    
    // Implements stringer compatible interface.
    func (s *xlStorage) String() string {
    	return s.drivePath
    }
    
    func (s *xlStorage) Hostname() string {
    	return s.endpoint.Host
    }
    
    func (s *xlStorage) Endpoint() Endpoint {
    	return s.endpoint
    }
    
    func (*xlStorage) Close() error {
    	return nil
    }
    
    func (s *xlStorage) IsOnline() bool {
    	return true
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    	if ok {
    		return rt
    	}
    	return nil
    }
    
    // Returns a minio-go Client configured to access remote host described by destDNSRecord
    // Applicable only in a federated deployment
    var getRemoteInstanceClient = func(r *http.Request, host string) (*miniogo.Core, error) {
    	cred := getReqAccessCred(r, globalSite.Region)
    	// In a federated deployment, all the instances share config files
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    	},
    	ErrMalformedPOSTRequest: {
    		Code:           "MalformedPOSTRequest",
    		Description:    "The body of your POST request is not well-formed multipart/form-data.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrPOSTFileRequired: {
    		Code:           "InvalidArgument",
    		Description:    "POST requires exactly one file upload per request.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSignatureVersionNotSupported: {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 90.6K bytes
    - Viewed (6)
  7. cmd/typed-errors.go

    // errSignatureMismatch means signature did not match.
    var errSignatureMismatch = errors.New("Signature does not match")
    
    // When upload object size is greater than 5G in a single PUT/POST operation.
    var errDataTooLarge = errors.New("Object size larger than allowed limit")
    
    // When upload object size is less than what was expected.
    var errDataTooSmall = errors.New("Object size smaller than expected")
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. cmd/bucket-policy.go

    	case authTypePresignedV2, authTypePresigned:
    		authtype = "REST-QUERY-STRING"
    	case authTypeSignedV2, authTypeSigned, authTypeStreamingSigned:
    		authtype = "REST-HEADER"
    	case authTypePostPolicy:
    		authtype = "POST"
    	}
    
    	args := map[string][]string{
    		"CurrentTime":      {currTime.Format(time.RFC3339)},
    		"EpochTime":        {strconv.FormatInt(currTime.Unix(), 10)},
    		"SecureTransport":  {strconv.FormatBool(r.TLS != nil)},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  9. cmd/admin-handlers-site-replication.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	writeSuccessResponseJSON(w, body)
    }
    
    // SiteReplicationDevNull - everything goes to io.Discard
    // [POST] /minio/admin/v3/site-replication/devnull
    func (a adminAPIHandlers) SiteReplicationDevNull(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	globalSiteNetPerfRX.Connect()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest-generate_test.go

    	err := copyDir(string(liveCharts), string(tmpCharts))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Add a default tag which is the webhook that will be processed post-install
    	rs, err := readFile(filepath.Join(testDataDir, "input-extra-resources", whSource+".yaml"))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
Back to top