Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for urlquery (0.75 sec)

  1. src/net/http/client_test.go

    			fmt.Fprintf(&log.Buffer, " (but with body=%T, content-length = %v, %q)", r.Body, r.ContentLength, cl)
    		}
    		log.WriteByte('\n')
    		log.Unlock()
    		urlQuery := r.URL.Query()
    		if v := urlQuery.Get("code"); v != "" {
    			location := ts.URL
    			if final := urlQuery.Get("next"); final != "" {
    				first, rest, _ := strings.Cut(final, ",")
    				location = fmt.Sprintf("%s?code=%s", location, first)
    				if rest != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  2. src/text/template/exec_test.go

    	{"html untyped nil", `{{html .Empty0}}`, "<no value>", tVal, true},
    
    	// JavaScript.
    	{"js", `{{js .}}`, `It\'d be nice.`, `It'd be nice.`, true},
    
    	// URL query.
    	{"urlquery", `{{"http://www.example.org/"|urlquery}}`, "http%3A%2F%2Fwww.example.org%2F", nil, true},
    
    	// Booleans
    	{"not", "{{not true}} {{not false}}", "false true", nil, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  3. src/html/template/exec_test.go

    	// JavaScript.
    	{"js", `{{js .}}`, `It\'d be nice.`, `It'd be nice.`, true},
    
    	// URL query.
    	{"urlquery", `{{"http://www.example.org/"|urlquery}}`, "http%3A%2F%2Fwww.example.org%2F", nil, true},
    
    	// Booleans
    	{"not", "{{not true}} {{not false}}", "false true", nil, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
Back to top