Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 144 for methodSet (0.24 sec)

  1. cmd/test-utils_test.go

    			// Register Get Bucket policy HTTP Handler.
    			bucket.Methods(http.MethodGet).HandlerFunc(api.GetBucketPolicyHandler).Queries("policy", "")
    		case "GetBucketLifecycle":
    			bucket.Methods(http.MethodGet).HandlerFunc(api.GetBucketLifecycleHandler).Queries("lifecycle", "")
    		case "PutBucketLifecycle":
    			bucket.Methods(http.MethodPut).HandlerFunc(api.PutBucketLifecycleHandler).Queries("lifecycle", "")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  2. cmd/healthcheck-router.go

    	// Cluster check handler to verify cluster is active
    	healthRouter.Methods(http.MethodGet).Path(healthCheckClusterPath).HandlerFunc(httpTraceAll(ClusterCheckHandler))
    	healthRouter.Methods(http.MethodHead).Path(healthCheckClusterPath).HandlerFunc(httpTraceAll(ClusterCheckHandler))
    	healthRouter.Methods(http.MethodGet).Path(healthCheckClusterReadPath).HandlerFunc(httpTraceAll(ClusterReadCheckHandler))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 23 11:12:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. cmd/bucket-handlers_test.go

    		// initialize httptest Recorder, this records any mutations to response writer inside the handler.
    		rec := httptest.NewRecorder()
    		// construct HTTP request for Get bucket location.
    		req, err := newTestSignedRequestV4(http.MethodGet, getBucketLocationURL("", testCase.bucketName), 0, nil, testCase.accessKey, testCase.secretKey, nil)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  4. api/go1.6.txt

    pkg net/http, const MethodConnect = "CONNECT"
    pkg net/http, const MethodConnect ideal-string
    pkg net/http, const MethodDelete = "DELETE"
    pkg net/http, const MethodDelete ideal-string
    pkg net/http, const MethodGet = "GET"
    pkg net/http, const MethodGet ideal-string
    pkg net/http, const MethodHead = "HEAD"
    pkg net/http, const MethodHead ideal-string
    pkg net/http, const MethodOptions = "OPTIONS"
    pkg net/http, const MethodOptions ideal-string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  5. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 01:01:15 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    			req, err = newTestStreamingSignedBadChunkDateRequest(http.MethodPut,
    				getPutObjectURL("", testCase.bucketName, testCase.objectName),
    				int64(testCase.dataLen), testCase.chunkSize, bytes.NewReader(testCase.data),
    				testCase.accessKey, testCase.secretKey)
    		case testCase.contentEncoding == "":
    			req, err = newTestStreamingSignedRequest(http.MethodPut,
    				getPutObjectURL("", testCase.bucketName, testCase.objectName),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  7. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                    } else if (parameterType.equals(Float.TYPE)) {
                        methodKey.append("java.lang.Float");
                    } else if (parameterType.equals(Integer.TYPE)) {
                        methodKey.append("java.lang.Integer");
                    } else if (parameterType.equals(Long.TYPE)) {
                        methodKey.append("java.lang.Long");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/filterlatency/filterlatency_test.go

    	})
    
    	requestFilterStarted := time.Now()
    	wrapped := trackStarted(handler, noopoteltrace.NewTracerProvider(), filterName, testingclock.NewFakeClock(requestFilterStarted))
    
    	testRequest, err := http.NewRequest(http.MethodGet, "/api/v1/namespaces", nil)
    	if err != nil {
    		t.Fatalf("failed to create new http request - %v", err)
    	}
    	testRequest = testRequest.WithContext(withRequestFilterRecord(testRequest.Context(), &requestFilterRecord{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. cmd/url_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/http"
    	"testing"
    )
    
    func BenchmarkURLQueryForm(b *testing.B) {
    	req, err := http.NewRequest(http.MethodGet, "http://localhost:9000/bucket/name?uploadId=upload&partNumber=1", http.NoBody)
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	// benchmark utility which helps obtain number of allocations and bytes allocated per ops.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. cmd/healthcheck-handler.go

    		apiErr := getAPIError(ErrBusy)
    		switch r.Method {
    		case http.MethodHead:
    			writeResponse(w, apiErr.HTTPStatusCode, nil, mimeNone)
    		case http.MethodGet:
    			writeErrorResponse(r.Context(), w, apiErr, r.URL)
    		}
    		return
    	}
    
    	// Verify if KMS is reachable if its configured
    	if GlobalKMS != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top