Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 627 for res2 (0.07 seconds)

  1. internal/dsync/dsync-client_test.go

    	"errors"
    	"net/http"
    	"net/url"
    	"time"
    
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/minio/internal/rest"
    )
    
    // ReconnectRESTClient is a wrapper type for rest.Client which provides reconnect on first failure.
    type ReconnectRESTClient struct {
    	u    *url.URL
    	rest *rest.Client
    }
    
    // newClient constructs a ReconnectRESTClient object with addr and endpoint initialized.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 20 17:36:09 GMT 2022
    - 4.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/http/NtlmSsp.java

                }
            } else {
                resp.setHeader("WWW-Authenticate", "NTLM");
            }
            resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
            resp.setContentLength(0);
            resp.flushBuffer();
            return null;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. internal/config/dns/operator_dns.go

    		return newError(bucket, err)
    	}
    
    	resp, err := c.httpClient.Do(req)
    	if err != nil {
    		if derr := c.Delete(bucket); derr != nil {
    			return newError(bucket, derr)
    		}
    		return err
    	}
    	defer xhttp.DrainBody(resp.Body)
    
    	if resp.StatusCode != http.StatusOK {
    		var errorStringBuilder strings.Builder
    		io.Copy(&errorStringBuilder, io.LimitReader(resp.Body, resp.ContentLength))
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 11 14:51:43 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  4. cmd/object-lambda-handlers.go

    		}
    	}
    }
    
    func fwdStatusToAPIError(statusCode int, resp *http.Response) *APIError {
    	if statusCode < http.StatusBadRequest {
    		return nil
    	}
    	desc := resp.Header.Get(xhttp.AmzFwdErrorMessage)
    	if strings.TrimSpace(desc) == "" {
    		apiErr := errorCodes.ToAPIErr(ErrInvalidRequest)
    		return &apiErr
    	}
    	code := resp.Header.Get(xhttp.AmzFwdErrorCode)
    	if strings.TrimSpace(code) == "" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 18 21:56:31 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. docs/sts/client-grants.go

    			InsecureSkipVerify: true,
    		},
    	}
    	hclient := http.Client{
    		Transport: t,
    	}
    	resp, err := hclient.Do(req)
    	if err != nil {
    		return nil, err
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusOK {
    		return nil, fmt.Errorf("%s", resp.Status)
    	}
    
    	var idpToken JWTToken
    	if err = json.NewDecoder(resp.Body).Decode(&idpToken); err != nil {
    		return nil, err
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 3.3K bytes
    - Click Count (0)
  6. build-tools-internal/build.gradle

        }
        restResources {
          id = 'elasticsearch.rest-resources'
          implementationClass = 'org.elasticsearch.gradle.internal.test.rest.RestResourcesPlugin'
        }
        restTest {
          id = 'elasticsearch.rest-test'
          implementationClass = 'org.elasticsearch.gradle.internal.test.RestTestPlugin'
        }
        standaloneRestTest {
          id = 'elasticsearch.standalone-rest-test'
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 18:10:22 GMT 2021
    - 11.3K bytes
    - Click Count (0)
  7. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/fixtures/AbstractRestResourcesFuncTest.groovy

                file("rest-api-spec/src/main/resources/rest-api-spec/api/" + api) << ""
            }
            tests.each { test ->
                file("rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/" + test) << ""
            }
        }
    
        void addRestTestsToProject(List<String> tests, String sourceSet = "test") {
            // uses the test source set by default, but in practice it would be a custom source set set by another plugin
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  8. internal/config/identity/openid/providercfg.go

    		Transport: transport,
    	}
    
    	resp, err := client.Do(req)
    	if err != nil {
    		return nil, err
    	}
    
    	defer xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		// uncomment this for debugging when needed.
    		// reqBytes, _ := httputil.DumpRequest(req, false)
    		// fmt.Println(string(reqBytes))
    		// respBytes, _ := httputil.DumpResponse(resp, true)
    		// fmt.Println(string(respBytes))
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/http/NtlmHttpFilter.java

                    }
                    resp.setHeader("WWW-Authenticate", "NTLM");
                    if (offerBasic) {
                        resp.addHeader("WWW-Authenticate", "Basic realm=\"" + this.realm + "\"");
                    }
                    resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
                    resp.setContentLength(0); /* Marcel Feb-15-2005 */
                    resp.flushBuffer();
                    return null;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/groovy/elasticsearch.authenticated-testclusters.gradle

    import org.elasticsearch.gradle.testclusters.StandaloneRestIntegTestTask
    
    def clusterCredentials = [
            username: providers.systemProperty('tests.rest.cluster.username')
                    .forUseAtConfigurationTime()
                    .getOrElse('test_admin'),
            password: providers.systemProperty('tests.rest.cluster.password')
                    .forUseAtConfigurationTime()
                    .getOrElse('x-pack-test-password')
    ]
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 11:25:54 GMT 2021
    - 1.1K bytes
    - Click Count (0)
Back to Top