Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ErrNoCookie (0.14 sec)

  1. src/net/http/request_test.go

    	}
    	if g := b.String(); g != expectContent {
    		t.Errorf("contents = %q, want %q", g, expectContent)
    	}
    	return f
    }
    
    // Issue 53181: verify Request.Cookie return the correct Cookie.
    // Return ErrNoCookie instead of the first cookie when name is "".
    func TestRequestCookie(t *testing.T) {
    	for _, tt := range []struct {
    		name        string
    		value       string
    		expectedErr error
    	}{
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top