Home | History | Annotate | Download | only in http

Lines Matching refs:Header

15 	h        Header
19 {Header{}, nil, ""},
21 Header{
29 Header{
36 Header{
45 Header{
54 Header{
63 Header{
72 // Tests header sorting when over the insertion sort threshold side:
74 Header{
104 h Header
107 {Header{"Date": {""}}, true},
108 {Header{"Date": {"invalid"}}, true},
109 {Header{"Date": {"1994-11-06T08:49:37Z00:00"}}, true},
110 {Header{"Date": {"Sun, 06 Nov 1994 08:49:37 GMT"}}, false},
111 {Header{"Date": {"Sunday, 06-Nov-94 08:49:37 GMT"}}, false},
112 {Header{"Date": {"Sun Nov 6 08:49:37 1994"}}, false},
136 header string
172 if hasToken(tt.header, tt.token) != tt.want {
173 t.Errorf("hasToken(%q, %q) = %v; want %v", tt.header, tt.token, !tt.want, tt.want)
178 var testHeader = Header{