- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for HeaderMap (0.28 sec)
-
pkg/config/validation/validation.go
authorityMatch := assignExactOrPrefix(authorityExact, authorityPrefix) // set Headers headerMap := make(map[string]string) for hkey, hvalue := range match.Headers { hvalueExact := hvalue.GetExact() hvaluePrefix := hvalue.GetPrefix() hvalueMatch := assignExactOrPrefix(hvalueExact, hvaluePrefix) headerMap[hkey] = hvalueMatch } // set QueryParams QPMap := make(map[string]string)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0) -
src/net/http/serve_test.go
t.Errorf("#%d: Status = %d; want = %d", i, got, want) } if tt.code == 301 { if got, want := w.HeaderMap.Get("Location"), tt.loc; got != want { t.Errorf("#%d: Location = %q; want = %q", i, got, want) } } else { if got, want := w.HeaderMap.Get("Result"), tt.want; got != want { t.Errorf("#%d: Result = %q; want = %q", i, got, want) } } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0)