Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for rawURL (1.42 sec)

  1. src/net/http/cgi/child.go

    	if r.Host != "" {
    		// Hostname is provided, so we can reasonably construct a URL.
    		rawurl := r.Host + uriStr
    		if r.TLS == nil {
    			rawurl = "http://" + rawurl
    		} else {
    			rawurl = "https://" + rawurl
    		}
    		url, err := url.Parse(rawurl)
    		if err != nil {
    			return nil, errors.New("cgi: failed to parse host and REQUEST_URI into a URL: " + rawurl)
    		}
    		r.URL = url
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top