Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Success_action_status (0.1 sec)

  1. cmd/postpolicyform_test.go

    		policy  string
    		success bool
    	}{
    		// missing expiration, will fail.
    		{
    			policy:  `{"conditions":[["eq","$bucket","asdf"],["eq","$key","hello.txt"]],"conditions":[["eq","$success_action_status","201"],["eq","$Content-Type","plain/text"],["eq","$success_action_status","201"],["eq","$x-amz-algorithm","AWS4-HMAC-SHA256"],["eq","$x-amz-credential","Q3AM3UQ867SPQQA43P2F/20210315/us-east-1/s3/aws4_request"],["eq","$x-amz-date","20210315T091621Z"]]}`,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  2. cmd/postpolicyform.go

    	"$content-disposition":     true,
    	"$content-encoding":        true,
    	"$expires":                 true,
    	"$key":                     true,
    	"$success_action_redirect": true,
    	"$redirect":                true,
    	"$success_action_status":   true,
    	"$x-amz-algorithm":         false,
    	"$x-amz-credential":        false,
    	"$x-amz-date":              false,
    }
    
    var postPolicyIgnoreKeys = map[string]bool{
    	"Policy":              true,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    	}
    	object := trimLeadingSlash(formValues.Get("Key"))
    
    	successRedirect := formValues.Get("success_action_redirect")
    	successStatus := formValues.Get("success_action_status")
    	var redirectURL *url.URL
    	if successRedirect != "" {
    		redirectURL, err = url.Parse(successRedirect)
    		if err != nil {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMalformedPOSTRequest), r.URL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  4. cmd/api-response.go

    	// Collection of errors deleting certain objects.
    	Errors []DeleteError `xml:"Error,omitempty"`
    }
    
    // PostResponse container for POST object request when success_action_status is set to 201
    type PostResponse struct {
    	Bucket   string
    	Key      string
    	ETag     string
    	Location string
    }
    
    // returns "https" if the tls boolean is true, "http" otherwise.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top