Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for REMOTE_HOST (0.14 sec)

  1. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/HttpClientConfigurerTest.groovy

            def basicCredentials = httpClientBuilder.credentialsProvider.getCredentials(new AuthScope(REMOTE_HOST, SOME_PORT))
            basicCredentials.userPrincipal.name == "domain/user"
            basicCredentials.password == "pass"
    
            and:
            def ntlmCredentials = httpClientBuilder.credentialsProvider.getCredentials(new AuthScope(REMOTE_HOST, SOME_PORT, AuthScope.ANY_REALM, "ntlm"))
            ntlmCredentials.userPrincipal.name == 'DOMAIN\\user'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. src/net/http/cgi/host.go

    	if remoteIP, remotePort, err := net.SplitHostPort(req.RemoteAddr); err == nil {
    		env = append(env, "REMOTE_ADDR="+remoteIP, "REMOTE_HOST="+remoteIP, "REMOTE_PORT="+remotePort)
    	} else {
    		// could not parse ip:port, let's use whole RemoteAddr and leave REMOTE_PORT undefined
    		env = append(env, "REMOTE_ADDR="+req.RemoteAddr, "REMOTE_HOST="+req.RemoteAddr)
    	}
    
    	if hostDomain, _, err := net.SplitHostPort(req.Host); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. src/net/http/cgi/integration_test.go

    		"env-GATEWAY_INTERFACE": "CGI/1.1",
    		"env-HTTP_HOST":         "example.com",
    		"env-PATH_INFO":         "",
    		"env-QUERY_STRING":      "foo=bar&a=b",
    		"env-REMOTE_ADDR":       "1.2.3.4",
    		"env-REMOTE_HOST":       "1.2.3.4",
    		"env-REMOTE_PORT":       "1234",
    		"env-REQUEST_METHOD":    "GET",
    		"env-REQUEST_URI":       "/test.go?foo=bar&a=b",
    		"env-SCRIPT_FILENAME":   os.Args[0],
    		"env-SCRIPT_NAME":       "/test.go",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 18:42:44 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. src/net/http/cgi/host_test.go

    		"env-GATEWAY_INTERFACE": "CGI/1.1",
    		"env-HTTP_HOST":         "example.com:80",
    		"env-PATH_INFO":         "",
    		"env-QUERY_STRING":      "foo=bar&a=b",
    		"env-REMOTE_ADDR":       "1.2.3.4",
    		"env-REMOTE_HOST":       "1.2.3.4",
    		"env-REMOTE_PORT":       "1234",
    		"env-REQUEST_METHOD":    "GET",
    		"env-REQUEST_URI":       "/test.cgi?foo=bar&a=b",
    		"env-SCRIPT_FILENAME":   os.Args[0],
    		"env-SCRIPT_NAME":       "/test.cgi",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 18:29:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/net/http/fcgi/child.go

    func addFastCGIEnvToContext(s string) bool {
    	// Exclude things supported by net/http natively:
    	switch s {
    	case "CONTENT_LENGTH", "CONTENT_TYPE", "HTTPS",
    		"PATH_INFO", "QUERY_STRING", "REMOTE_ADDR",
    		"REMOTE_HOST", "REMOTE_PORT", "REQUEST_METHOD",
    		"REQUEST_URI", "SCRIPT_NAME", "SERVER_PROTOCOL":
    		return false
    	}
    	if strings.HasPrefix(s, "HTTP_") {
    		return false
    	}
    	// Explicitly include FastCGI-specific things.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top