- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 108 for hosts (0.04 sec)
-
cmd/admin-handlers.go
diskMap[k] = struct{}{} } } } jobID := r.Form.Get("by-jobID") hosts := strings.Split(r.Form.Get("hosts"), ",") byHost := strings.EqualFold(r.Form.Get("by-host"), "true") var hostMap map[string]struct{} if len(hosts) > 0 && hosts[0] != "" { hostMap = make(map[string]struct{}, len(hosts)) for _, k := range hosts { if k != "" { hostMap[k] = struct{}{} } } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 99.6K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
vectors := []struct { in string wantRes string wantKey string wantVal string ok bool }{ {"6 k=v\n\n", "\n", "k", "v", true}, {"19 path=/etc/hosts\n", "", "path", "/etc/hosts", true}, {"210 path=" + longName + "\nabc", "abc", "path", longName, true}, {"110 path=" + medName + "\n", "", "path", medName, true}, {"9 foo=ba\n", "", "foo", "ba", true},Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 15K bytes - Viewed (0) -
docs/en/docs/advanced/middleware.md
{* ../../docs_src/advanced_middleware/tutorial001.py hl[2,6] *} ## `TrustedHostMiddleware` { #trustedhostmiddleware } Enforces that all incoming requests have a correctly set `Host` header, in order to guard against HTTP Host Header attacks. {* ../../docs_src/advanced_middleware/tutorial002.py hl[2,6:8] *} The following arguments are supported:Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:59:07 UTC 2025 - 4.3K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
* @return The created OpenSearch client. */ protected Client createClient() { final String[] hosts = split(address, ",").get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n])); final Settings settings = Settings.builder().putList("http.hosts", hosts).build(); return new HttpClient(settings, null); } /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Aug 31 05:32:52 UTC 2025 - 25.3K bytes - Viewed (0) -
cmd/generic-handlers.go
} } // Date header missing. return time.Time{}, ErrMissingDateHeader } func hasBadHost(host string) error { if globalIsCICD && strings.TrimSpace(host) == "" { // under CI/CD test setups ignore empty hosts as invalid hosts return nil } _, err := xnet.ParseHost(host) return err } // Check if the incoming path has bad path components, // such as ".." and "."Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.7K bytes - Viewed (1) -
cmd/notification.go
g := errgroup.WithNErrs(len(sys.peerClients)) for index, client := range sys.peerClients { if client == nil { continue } host := client.host.String() if len(opts.hosts) > 0 { if _, ok := opts.hosts[host]; !ok { continue } } index := index g.Go(func() error { var err error reply[index], err = sys.peerClients[index].GetMetrics(ctx, t, opts)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 45.9K bytes - Viewed (0) -
cmd/test-utils_test.go
query.Set("X-Amz-Expires", strconv.FormatInt(expires, 10)) query.Set("X-Amz-SignedHeaders", "host") query.Set("X-Amz-Credential", credential) query.Set("X-Amz-Content-Sha256", unsignedPayload) // "host" is the only header required to be signed for Presigned URLs. extractedSignedHeaders := make(http.Header) extractedSignedHeaders.Set("host", req.Host) queryStr := strings.ReplaceAll(query.Encode(), "+", "%20")
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
return designJspFileNameMap.entrySet().stream().map(e -> new Pair<>(e.getKey(), e.getValue())).toArray(n -> new Pair[n]); } /** * Refreshes the design JSP files for all virtual hosts. * * @return A list of paths to the refreshed files. */ public List<Path> refreshDesignJspFiles() { final List<Path> fileList = new ArrayList<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 36.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
* * @param fessConfig the Fess configuration * @param host the search engine host address * @return the configured HTTP client */ protected Client createHttpClient(final FessConfig fessConfig, final String host) { final String[] hosts = split(host, ",").get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 121.9K bytes - Viewed (1) -
docs/en/data/external_links.yml
title: Creating a CRUD App with FastAPI (Part one) - author: Farhad Malik author_link: https://medium.com/@farhadmalik link: https://towardsdatascience.com/build-and-host-fast-data-science-applications-using-fastapi-823be8a1d6a0 title: Build And Host Fast Data Science Applications Using FastAPI - author: Navule Pavan Kumar Rao author_link: https://www.linkedin.com/in/navule/ link: https://www.tutlinks.com/deploy-fastapi-on-azure/ title: Deploy FastAPI on Azure App Service - author: Davide Fiocco author_link:...
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 23K bytes - Viewed (0)