Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SERVER_PROTOCOL (0.2 sec)

  1. src/net/http/fcgi/fcgi_test.go

    		[]byte{0, byte(roleResponder), 0, 0, 0, 0, 0, 0}),
    	// add required parameters to request 1
    	makeRecord(typeParams, 1, nameValuePair11("REQUEST_METHOD", "GET")),
    	makeRecord(typeParams, 1, nameValuePair11("SERVER_PROTOCOL", "HTTP/1.1")),
    	makeRecord(typeParams, 1, nil),
    	// begin sending body of request 1
    	makeRecord(typeStdin, 1, []byte("0123456789abcdef")),
    },
    	nil)
    
    var cleanUpTests = []struct {
    	input []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 11 18:51:39 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. src/net/http/fcgi/child.go

    	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.
    	// This list is redundant with the default "return true" below.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/net/http/cgi/host.go

    	if req.TLS != nil {
    		port = "443"
    	}
    	if matches := trailingPort.FindStringSubmatch(req.Host); len(matches) != 0 {
    		port = matches[1]
    	}
    
    	env := []string{
    		"SERVER_SOFTWARE=go",
    		"SERVER_PROTOCOL=HTTP/1.1",
    		"HTTP_HOST=" + req.Host,
    		"GATEWAY_INTERFACE=CGI/1.1",
    		"REQUEST_METHOD=" + req.Method,
    		"QUERY_STRING=" + req.URL.RawQuery,
    		"REQUEST_URI=" + req.URL.RequestURI(),
    		"PATH_INFO=" + pathInfo,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top