Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for requestKind (0.22 sec)

  1. cmd/object-handlers.go

    			encodedErrorResponse := encodeResponse(APIErrorResponse{
    				Code:       serr.ErrorCode(),
    				Message:    serr.ErrorMessage(),
    				BucketName: bucket,
    				Key:        object,
    				Resource:   r.URL.Path,
    				RequestID:  w.Header().Get(xhttp.AmzRequestID),
    				HostID:     globalDeploymentID(),
    			})
    			writeResponse(w, serr.HTTPStatusCode(), encodedErrorResponse, mimeXML)
    		} else {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    		Code:  ErrSiteReplicationInvalidRequest,
    	}
    	errSRPeerNotFound = SRError{
    		Cause: errors.New("peer not found"),
    		Code:  ErrSiteReplicationInvalidRequest,
    	}
    	errSRRequestorNotFound = SRError{
    		Cause: errors.New("requesting site not found in site replication config"),
    		Code:  ErrSiteReplicationInvalidRequest,
    	}
    	errSRNotEnabled = SRError{
    		Cause: errors.New("site replication is not enabled"),
    		Code:  ErrSiteReplicationInvalidRequest,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    			Algorithm: jose.SignatureAlgorithm(c.signingKey.Algorithm),
    			Key:       c.signingKey,
    		}, nil)
    		if err != nil {
    			t.Fatalf("initialize signer: %v", err)
    		}
    	}
    	// The HTTPS server used for requesting distributed groups claims.
    	ts := newClaimServer(t, toKeySet(c.pubKeys), signer, c.claimToResponseMap, &c.openIDConfig)
    	defer ts.Close()
    
    	// Make the certificate of the helper server available to the authenticator
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    					} else {
    						errorRespJSON = encodeResponseJSON(APIErrorResponse{
    							Code:      hr.apiErr.Code,
    							Message:   hr.errBody,
    							Resource:  r.URL.Path,
    							RequestID: w.Header().Get(xhttp.AmzRequestID),
    							HostID:    globalDeploymentID(),
    						})
    					}
    					if !started {
    						setCommonHeaders(w)
    						w.Header().Set(xhttp.ContentType, string(mimeJSON))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    				getAPIError(ErrNoSuchKey),
    				getGetObjectURL("", bucketName, "abcd"), "", "")),
    			expectedRespStatus: http.StatusNotFound,
    		},
    		// Test case - 3.
    		// Requesting from range 10-100.
    		{
    			bucketName: bucketName,
    			objectName: objectName,
    			byteRange:  "bytes=10-100",
    			accessKey:  credentials.AccessKey,
    			secretKey:  credentials.SecretKey,
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  6. src/net/http/transport_test.go

    		if _, err := cst.c.Get(cst.ts.URL); err != nil {
    			if tooShort(err) {
    				continue
    			}
    			t.Fatalf("got error: %s", err)
    		}
    	}
    }
    
    // This tests that a client requesting a content range won't also
    // implicitly ask for gzip support. If they want that, they need to do it
    // on their own.
    // golang.org/issue/8923
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    	expectTest(100, "100-continue", true, "100 Continue"),
    	expectTest(100, "100-cOntInUE", true, "100 Continue"),
    
    	// No 100-continue.
    	expectTest(100, "", true, "200 OK"),
    
    	// 100-continue but requesting client to deny us,
    	// so it never reads the body.
    	expectTest(100, "100-continue", false, "401 Unauthorized"),
    	// Likewise without 100-continue:
    	expectTest(100, "", false, "401 Unauthorized"),
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top