Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/net/url/url.go

    		s += ":" + escape(u.password, encodeUserPassword)
    	}
    	return s
    }
    
    // Maybe rawURL is of the form scheme:path.
    // (Scheme must be [a-zA-Z][a-zA-Z0-9+.-]*)
    // If so, return scheme, path; else return "", rawURL.
    func getScheme(rawURL string) (scheme, path string, err error) {
    	for i := 0; i < len(rawURL); i++ {
    		c := rawURL[i]
    		switch {
    		case 'a' <= c && c <= 'z' || 'A' <= c && c <= 'Z':
    		// do nothing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
Back to top