Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for MethodPut (0.08 sec)

  1. cmd/api-router.go

    		methods: []string{http.MethodPut},
    		queries: []string{"website", ""},
    	},
    	{
    		api:     "logging",
    		methods: []string{http.MethodPut, http.MethodDelete},
    		queries: []string{"logging", ""},
    	},
    	{
    		api:     "accelerate",
    		methods: []string{http.MethodPut, http.MethodDelete},
    		queries: []string{"accelerate", ""},
    	},
    	{
    		api:     "requestPayment",
    		methods: []string{http.MethodPut, http.MethodDelete},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  2. cmd/admin-router.go

    		// Import IAM info
    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/import-iam").HandlerFunc(adminMiddleware(adminAPI.ImportIAM, noGZFlag))
    		adminRouter.Methods(http.MethodPut).Path(adminVersion + "/import-iam-v2").HandlerFunc(adminMiddleware(adminAPI.ImportIAMV2, noGZFlag))
    
    		// IDentity Provider configuration APIs
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle-handlers_test.go

    				Code:     "InvalidAccessKeyId",
    				Message:  "The Access Key Id you provided does not exist in our records.",
    			},
    			shouldPass: false,
    		},
    		// PUT empty credentials
    		{
    			method:             http.MethodPut,
    			bucketName:         bucketName,
    			accessKey:          "",
    			secretKey:          "",
    			expectedRespStatus: http.StatusForbidden,
    			lifecycleResponse:  []byte(""),
    			errorResponse: APIErrorResponse{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. cmd/auth-handler_test.go

    		{mustNewSignedEmptyMD5Request(http.MethodPut, "http://127.0.0.1:9000/", 5, bytes.NewReader([]byte("hello")), t), ErrInvalidDigest},
    		// Short Content-Md5 header.
    		{mustNewSignedShortMD5Request(http.MethodPut, "http://127.0.0.1:9000/", 5, bytes.NewReader([]byte("hello")), t), ErrInvalidDigest},
    		// When request is properly signed, but has bad Content-MD5 header.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. cmd/bucket-policy-handlers_test.go

    		recV4 := httptest.NewRecorder()
    		// construct HTTP request for PUT bucket policy endpoint.
    		reqV4, err := newTestSignedRequestV4(http.MethodPut, getPutPolicyURL("", testCase.bucketName),
    			int64(testCase.policyLen), testCase.bucketPolicyReader, testCase.accessKey, testCase.secretKey, nil)
    		if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  6. cmd/object-handlers-common.go

    //	x-amz-copy-source-if-none-match
    func checkCopyObjectPreconditions(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo) bool {
    	// Return false for methods other than GET and HEAD.
    	if r.Method != http.MethodPut {
    		return false
    	}
    	// If the object doesn't have a modtime (IsZero), or the modtime
    	// is obviously garbage (Unix time == 0), then ignore modtimes
    	// and don't process the If-Modified-Since header.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 23 12:36:06 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  7. cmd/signature-v4-utils_test.go

    		"X-Amz-Meta-Extension": {"png"},
    		"X-Amz-Meta-Name":      {"imagepng"},
    	}
    	expectedMetaTest := "test"
    	expectedMetaExtension := "png"
    	expectedMetaName := "imagepng"
    	r, err := http.NewRequest(http.MethodPut, "http://play.min.io:9000", nil)
    	if err != nil {
    		t.Fatal("Unable to create http.Request :", err)
    	}
    
    	// Creating input http header.
    	inputHeader := r.Header
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. cmd/auth-handler.go

    		r.Method == http.MethodPut
    }
    
    // Verify if the request has AWS Streaming Signature Version '4'. This is only valid for 'PUT' operation.
    func isRequestSignStreamingTrailerV4(r *http.Request) bool {
    	return r.Header.Get(xhttp.AmzContentSha256) == streamingContentSHA256Trailer &&
    		r.Method == http.MethodPut
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  9. api/go1.6.txt

    pkg net/http, const MethodPatch = "PATCH"
    pkg net/http, const MethodPatch ideal-string
    pkg net/http, const MethodPost = "POST"
    pkg net/http, const MethodPost ideal-string
    pkg net/http, const MethodPut = "PUT"
    pkg net/http, const MethodPut ideal-string
    pkg net/http, const MethodTrace = "TRACE"
    pkg net/http, const MethodTrace ideal-string
    pkg net/http, const StatusNetworkAuthenticationRequired = 511
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  10. cmd/generic-handlers.go

    		if r.Method == http.MethodPut && bucket != "" && object == "" && r.URL.RawQuery == "" {
    			h.ServeHTTP(w, r)
    			return
    		}
    
    		// CopyObject requests should be handled at current endpoint as path style
    		// requests have target bucket and object in URI and source details are in
    		// header fields
    		if r.Method == http.MethodPut && r.Header.Get(xhttp.AmzCopySource) != "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
Back to top