- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for isRedirect (0.16 sec)
-
pilot/cmd/pilot-agent/status/server.go
CheckRedirect: redirectChecker(), } } } return s, nil } // Copies logic from https://github.com/kubernetes/kubernetes/blob/b152001f459/pkg/probe/http/http.go#L129-L130 func isRedirect(code int) bool { return code >= http.StatusMultipleChoices && code < http.StatusBadRequest }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 31.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Response.kt
level = DeprecationLevel.ERROR, ) fun body() = body fun newBuilder(): Builder = commonNewBuilder() /** Returns true if this response redirects to another resource. */ val isRedirect: Boolean = commonIsRedirect @JvmName("-deprecated_networkResponse") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "networkResponse"),
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 15.5K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server_test.go
for code := http.StatusOK; code <= http.StatusNetworkAuthenticationRequired; code++ { if http.StatusText(code) == "" { // Not a valid HTTP code continue } expect := code if isRedirect(code) { expect = 200 } t.Run(fmt.Sprint(code), func(t *testing.T) { testFn(t, test{ probePath: "app-health/code/livez", config: KubeAppProbers{ "/app-health/code/livez": &Prober{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 42.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
val peekBody: ResponseBody = response.peekBody(0L) val body: ResponseBody = response.body val builder: Response.Builder = response.newBuilder() val redirect: Boolean = response.isRedirect val networkResponse: Response? = response.networkResponse val cacheResponse: Response? = response.cacheResponse val priorResponse: Response? = response.priorResponse
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 46.5K bytes - Viewed (0) -
okhttp/api/okhttp.api
public final fun headers ()Lokhttp3/Headers; public final fun headers (Ljava/lang/String;)Ljava/util/List; public final fun isRedirect ()Z public final fun isSuccessful ()Z public final fun message ()Ljava/lang/String; public final fun networkResponse ()Lokhttp3/Response; public final fun newBuilder ()Lokhttp3/Response$Builder;
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0) -
cmd/import-boss/main.go
} } realPkgPath := unmassage(pkg.PkgPath) direct, indirect := transitiveImports(pkg) isDirect := map[string]bool{} for _, imp := range direct { isDirect[imp] = true } relate := func(imp string) string { if isDirect[imp] { return "->" } return "-->" } var errs []error for _, imp := range uniq(direct, indirect) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 12:36:49 UTC 2024 - 14.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
com.Token = "//" + com.Token[i+len("indirect;"):] } // isIndirect reports whether line has a "// indirect" comment, // meaning it is in go.mod only for its effect on indirect dependencies, // so that it can be dropped entirely once the effective version of the // indirect dependency reaches the given minimum version. func isIndirect(line *Line) bool { if len(line.Suffix) == 0 { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 46.5K bytes - Viewed (0) -
src/cmd/go/internal/modload/buildlist.go
rs.graph.Store(&cachedGraph{mg, mgErr}) }) cached := rs.graph.Load() return cached.mg, cached.err } // IsDirect returns whether the given module provides a package directly // imported by a package or test in the main module. func (rs *Requirements) IsDirect(path string) bool { return rs.direct[path] } // A ModuleGraph represents the complete graph of module dependencies // of a main module.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 16:04:44 UTC 2024 - 53.8K bytes - Viewed (0) -
src/cmd/go/internal/modget/get.go
for _, pkg := range match.Pkgs { m := modload.PackageModule(pkg) relevantMods[m] |= named } } } reqs := modload.LoadModFile(ctx) for m := range relevantMods { if reqs.IsDirect(m.Path) { relevantMods[m] |= direct } } // Load retractions for modules mentioned on the command line and modules // needed to build named packages. We care about retractions of indirect
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 18:26:32 UTC 2024 - 66.5K bytes - Viewed (0)