- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for HeaderMap (0.23 sec)
-
okhttp/src/test/java/okhttp3/HeadersJvmTest.kt
"cache-control", "no-cache", "cache-control", "no-store", "user-agent", "OkHttp", ) val headerMap = headers.toMultimap() assertThat(headerMap["cache-control"]!!.size).isEqualTo(2) assertThat(headerMap["user-agent"]!!.size).isEqualTo(1) } @Test fun toMultimapUsesCanonicalCase() { val headers = Headers.headersOf( "cache-control",
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.6K bytes - Viewed (0) -
src/net/http/httptest/recorder.go
// method. Code int // HeaderMap contains the headers explicitly set by the Handler. // It is an internal detail. // // Deprecated: HeaderMap exists for historical compatibility // and should not be used. To access the headers returned by a handler, // use the Response.Header map as returned by the Result method. HeaderMap http.Header
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 7K bytes - Viewed (0) -
src/net/http/httptest/recorder_test.go
}, { "Content-Type detection doesn't crash if HeaderMap is nil", func(w http.ResponseWriter, r *http.Request) { // Act as if the user wrote new(httptest.ResponseRecorder) // rather than using NewRecorder (which initializes // HeaderMap) w.(*ResponseRecorder).HeaderMap = nil io.WriteString(w, "<html>") },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 23:17:38 UTC 2022 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/exentity/SearchLog.java
sourceMap.put("searchField", searchFieldMap); final Map<String, List<String>> headerMap = headerList.stream() .collect(Collectors.groupingBy(Pair::getFirst, Collectors.mapping(Pair::getSecond, Collectors.toList()))); sourceMap.put("headers", headerMap); sourceMap.put("documents", documentList); return sourceMap; } @Override
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6K bytes - Viewed (0) -
dbflute_fess/dfprop/lastafluteMap.dfprop
#; overrideMap = map:{ # ; fess.freeGen.mail.targetDir = ./playsql/data/mail #} # you can adjust LastaDoc contents ; lastaDocContentsMap = map:{ ; headerMap = map:{ #; isSuppressSchemaHtmlLink = true } ; actionMap = map:{ ; isSuppressDescriptionInList = true ; isSuppressAuthorInList = true } } }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Sun May 20 08:20:11 UTC 2018 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/errors_test.go
t.Errorf("Forbidden response body(%#v...)\n expected: %v\ngot: %v", test.attributes, test.expected, result) } //nolint:staticcheck // SA1019 backwards compatibility resultType := observer.HeaderMap.Get("Content-Type") if resultType != test.contentType { t.Errorf("Forbidden content type(%#v...) != %#v, got %#v", test.attributes, test.expected, result) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 29 07:45:20 UTC 2022 - 4.3K bytes - Viewed (0) -
cmd/test-utils_test.go
// Get header map. headerMap := make(map[string][]string) for k, vv := range req.Header { // If request header key is not in ignored headers, then add it. if _, ok := ignoredStreamingHeaders[http.CanonicalHeaderKey(k)]; !ok { headerMap[strings.ToLower(k)] = vv } } // Get header keys. headers := []string{"host"} for k := range headerMap { headers = append(headers, k) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 76.9K bytes - Viewed (0) -
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) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"NewUnstartedServer", Func, 0}, {"ResponseRecorder", Type, 0}, {"ResponseRecorder.Body", Field, 0}, {"ResponseRecorder.Code", Field, 0}, {"ResponseRecorder.Flushed", Field, 0}, {"ResponseRecorder.HeaderMap", Field, 0}, {"Server", Type, 0}, {"Server.Config", Field, 0}, {"Server.EnableHTTP2", Field, 14}, {"Server.Listener", Field, 0}, {"Server.TLS", Field, 0}, {"Server.URL", Field, 0}, },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)