Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for req (0.02 sec)

  1. cmd/object-handlers_test.go

    		if testCase.removeAuthHeader {
    			req.Header.Del("Authorization")
    		}
    		switch testCase.fault {
    		case malformedEncoding:
    			req, err = malformChunkSizeSigV4(req, testCase.chunkSize-1)
    		case signatureMismatch:
    			req, err = malformDataSigV4(req, 'z')
    		case unexpectedEOF:
    			req, err = truncateChunkByHalfSigv4(req)
    		case tooBigDecodedLength:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

            if( log.level >= 3 )
                log.println( "doFindFirstNext: " + req.path );
    
            send( req, resp );
    
            sid = resp.sid;
            req = new Trans2FindNext2( sid, resp.resumeKey, resp.lastName );
    
            /* The only difference between first2 and next2 responses is subCommand
             * so let's recycle the response object.
             */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  3. cmd/server_test.go

    		"Retry-After",
    		"X-Amz-Bucket-Region",
    		"Expires",
    		"X-Amz*",
    		"X-Amz*",
    		"*",
    	}
    	expectedMap.Set("Vary", "Origin")
    
    	req, _ := http.NewRequest(http.MethodOptions, s.endPoint, nil)
    	req.Header.Set("Origin", "http://foobar.com")
    	res, err := s.client.Do(req)
    	if err != nil {
    		c.Fatal(err)
    	}
    
    	for k := range expectedMap {
    		if v, ok := res.Header[k]; !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  4. fastapi/applications.py

            if self.openapi_url:
                urls = (server_data.get("url") for server_data in self.servers)
                server_urls = {url for url in urls if url}
    
                async def openapi(req: Request) -> JSONResponse:
                    root_path = req.scope.get("root_path", "").rstrip("/")
                    if root_path not in server_urls:
                        if root_path and self.root_path_in_servers:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    	defer cancel()
    
    	ki := madmin.KubernetesInfo{}
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodGet, kubernetesVersionEndpoint, nil)
    	if err != nil {
    		ki.Error = err.Error()
    		return ki
    	}
    
    	client := &http.Client{
    		Transport: globalRemoteTargetTransport,
    		Timeout:   10 * time.Second,
    	}
    
    	resp, err := client.Do(req)
    	if err != nil {
    		ki.Error = err.Error()
    		return ki
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    		Path:   healthCheckPathPrefix + healthCheckReadinessPath,
    	}
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodGet, reqURL.String(), nil)
    	if err != nil {
    		return err
    	}
    
    	client := &http.Client{
    		Transport: globalRemoteTargetTransport,
    		Timeout:   10 * time.Second,
    	}
    
    	resp, err := client.Do(req)
    	if err != nil {
    		return err
    	}
    	if err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  7. cmd/site-replication.go

    	// Set ReplicateILMExpiry for all peers
    	currTime := time.Now()
    	for i := range c.state.Peers {
    		p := c.state.Peers[i]
    		if p.ReplicateILMExpiry == arg.ReplicateILMExpiry {
    			// its already set due to previous edit req
    			break
    		}
    		p.ReplicateILMExpiry = arg.ReplicateILMExpiry
    		c.state.UpdatedAt = currTime
    		c.state.Peers[i] = p
    	}
    
    	for i := range c.state.Peers {
    		p := c.state.Peers[i]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top