Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for Post (0.92 sec)

  1. cmd/post-policy_test.go

    	for i := range parts {
    		if errs[i] == nil {
    			if parts[i].Name == objectName+"/upload.txt" {
    				t.Errorf("Test %s: Failed to stop post policy handler from writing to minioMetaBucket", instanceType)
    			}
    		}
    	}
    }
    
    // Wrapper for calling TestPostPolicyBucketHandler tests for both Erasure multiple disks and single node setup.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  2. cmd/post-policy-fan-out.go

    Harshavardhana <******@****.***> 1705561397 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. internal/event/name.go

    import (
    	"encoding/json"
    	"encoding/xml"
    )
    
    // Name - event type enum.
    // Refer http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#notification-how-to-event-types-and-destinations
    // for most basic values we have since extend this and its not really much applicable other than a reference point.
    // "s3:Replication:OperationCompletedReplication" is a MinIO extension.
    type Name int
    
    // Values of event Name
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. cmd/kms-handlers.go

    	if err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    		return
    	}
    	writeSuccessResponseJSON(w, resp)
    }
    
    // KMSMetricsHandler - POST /minio/kms/v1/metrics
    func (a kmsAPIHandlers) KMSMetricsHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "KMSMetrics")
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. cmd/license-update.go

    	// the subnet license renewal api renews the license only
    	// if required e.g. when it is expiring soon
    	url := globalSubnetConfig.BaseURL + licRenewPath
    
    	resp, err := globalSubnetConfig.Post(url, nil)
    	if err != nil {
    		subnetLogIf(ctx, fmt.Errorf("error from %s: %w", url, err))
    		return
    	}
    
    	r := gjson.Parse(resp).Get("license_v2")
    	if r.Index == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. internal/config/subnet/subnet.go

    	if resp.StatusCode == http.StatusOK {
    		return respStr, nil
    	}
    
    	return respStr, fmt.Errorf("SUBNET request failed with code %d and error: %s", resp.StatusCode, respStr)
    }
    
    // Post submit 'payload' to specified URL
    func (c Config) Post(reqURL string, payload interface{}) (string, error) {
    	if !c.Registered() {
    		return "", errors.New("Deployment is not registered with SUBNET. Please register the deployment via 'mc license register ALIAS'")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 27 16:35:36 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  7. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  8. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  9. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  10. cmd/auth-handler_test.go

    			req: &http.Request{
    				URL: &url.URL{
    					Host:     "127.0.0.1:9000",
    					Scheme:   httpScheme,
    					Path:     SlashSeparator,
    					RawQuery: "X-Amz-Credential=EXAMPLEINVALIDEXAMPL%2Fs3%2F20160314%2Fus-east-1",
    				},
    			},
    			authT: authTypePresigned,
    		},
    		// Test case - 5
    		// Check for post policy.
    		{
    			req: &http.Request{
    				URL: &url.URL{
    					Host:   "127.0.0.1:9000",
    					Scheme: httpScheme,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top