Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bctls (0.06 sec)

  1. src/net/http/request.go

    	                    | "CONNECT"                ; Section 9.9
    	                    | extension-method
    	   extension-method = token
    	     token          = 1*<any CHAR except CTLs or separators>
    	*/
    	return len(method) > 0 && strings.IndexFunc(method, isNotToken) == -1
    }
    
    // NewRequest wraps [NewRequestWithContext] using [context.Background].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  2. src/net/url/url_test.go

    		if got := fmt.Sprint(err); !strings.Contains(got, wantSub) {
    			t.Errorf("Parse(%q) error = %q; want substring %q", s, got, wantSub)
    		}
    	}
    
    	// But don't reject non-ASCII CTLs, at least for now:
    	if _, err := Parse("http://foo.com/ctl\x80"); err != nil {
    		t.Errorf("error parsing URL with non-ASCII control byte: %v", err)
    	}
    
    }
    
    var escapeBenchmarks = []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top