Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for Post (0.28 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. 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)
  3. 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)
  4. docs/hotfixes.md

    Fixes that are allowed a backport must satisfy any of the following criteria's:
    
    - A fix must not be a feature, for example.
    
    ```
    commit faf013ec84051b92ae0f420a658b8d35bb7bb000
    Author: Klaus Post <******@****.***>
    Date:   Thu Nov 18 12:15:22 2021 -0800
    
        Improve performance on multiple versions (#13573)
    ```
    
    - A fix must be a valid fix that was reproduced and seen in a customer environment, for example.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 14 21:36:02 GMT 2024
    - 5K 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. 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)
  7. 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)
  8. 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)
  9. 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)
  10. internal/event/name_test.go

    		{ObjectCreatedAll, "s3:ObjectCreated:*"},
    		{ObjectCreatedCompleteMultipartUpload, "s3:ObjectCreated:CompleteMultipartUpload"},
    		{ObjectCreatedCopy, "s3:ObjectCreated:Copy"},
    		{ObjectCreatedPost, "s3:ObjectCreated:Post"},
    		{ObjectCreatedPut, "s3:ObjectCreated:Put"},
    		{ObjectRemovedAll, "s3:ObjectRemoved:*"},
    		{ObjectRemovedDelete, "s3:ObjectRemoved:Delete"},
    		{ObjectRemovedDeleteAllVersions, "s3:ObjectRemoved:DeleteAllVersions"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top