Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 201 (0.15 sec)

  1. cmd/postpolicyform_test.go

    		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"]]}`,
    			success: false,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  2. internal/event/rules_test.go

    		{"", "jpg", "*jpg"},
    		{"", "*jpg", "*jpg"},
    		{"images/", "jpg", "images/*jpg"},
    		{"images/*", "jpg", "images/*jpg"},
    		{"images/", "*jpg", "images/*jpg"},
    		{"images/*", "*jpg", "images/*jpg"},
    		{"201*/images/", "jpg", "201*/images/*jpg"},
    	}
    
    	for i, testCase := range testCases {
    		result := NewPattern(testCase.prefix, testCase.suffix)
    
    		if result != testCase.expectedResult {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 8.8K bytes
    - Viewed (0)
  3. 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.
    func getURLScheme(tls bool) string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  4. cmd/apierrorcode_string.go

    	_ = x[ErrAdminConfigInvalidIDPType-197]
    	_ = x[ErrAdminConfigLDAPNonDefaultConfigName-198]
    	_ = x[ErrAdminConfigLDAPValidation-199]
    	_ = x[ErrAdminConfigIDPCfgNameAlreadyExists-200]
    	_ = x[ErrAdminConfigIDPCfgNameDoesNotExist-201]
    	_ = x[ErrInsecureClientRequest-202]
    	_ = x[ErrObjectTampered-203]
    	_ = x[ErrAdminLDAPNotEnabled-204]
    	_ = x[ErrSiteReplicationInvalidRequest-205]
    	_ = x[ErrSiteReplicationPeerResp-206]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  5. cmd/bucket-handlers.go

    	if checksum != nil && checksum.Valid() {
    		hash.AddChecksumHeader(w, checksum.AsMap())
    	}
    
    	// Decide what http response to send depending on success_action_status parameter
    	switch successStatus {
    	case "201":
    		resp := encodeResponse(PostResponse{
    			Bucket:   objInfo.Bucket,
    			Key:      objInfo.Name,
    			ETag:     `"` + objInfo.ETag + `"`,
    			Location: w.Header().Get(xhttp.Location),
    		})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top