Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 647 for vhost2 (0.1 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                return false;
            }
        }
    
        private static boolean isLocal(String host) {
            return "localhost".equals(host) || "127.0.0.1".equals(host);
        }
    
        /**
         * Checks the URL to see if this repository refers to a non-localhost repository using HTTP.
         *
         * @param originalRepository
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. cmd/speedtest.go

    				ignoredPaths = append(ignoredPaths, lp)
    			}
    		}
    		return tmpPaths
    	}()
    
    	scheme := "http"
    	if globalIsTLS {
    		scheme = "https"
    	}
    
    	u := &url.URL{
    		Scheme: scheme,
    		Host:   globalLocalNodeName,
    	}
    
    	perfs, err := perf.Run(ctx, paths...)
    	return madmin.DriveSpeedTestResult{
    		Endpoint: u.String(),
    		Version:  Version,
    		DrivePerf: func() (results []madmin.DrivePerf) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. internal/config/notify/parse.go

    			return nil, config.Errorf("kafka 'brokers' cannot be empty")
    		}
    		for _, s := range strings.Split(kafkaBrokers, config.ValueSeparator) {
    			var host *xnet.Host
    			host, err = xnet.ParseHost(s)
    			if err != nil {
    				break
    			}
    			brokers = append(brokers, *host)
    		}
    		if err != nil {
    			return nil, err
    		}
    
    		queueLimitEnv := target.EnvKafkaQueueLimit
    		if k != config.Default {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  4. docs/features/calls.md

    OkHttp may add headers that are absent from the original request, including `Content-Length`, `Transfer-Encoding`, `User-Agent`, `Host`, `Connection`, and `Content-Type`. It will add an `Accept-Encoding` header for transparent response compression unless the header is already present. If you’ve got cookies, OkHttp will add a `Cookie` header with them.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/InetAddresses.java

       * throw if the address has a scope id fails validation against interfaces on the machine.
       *
       * @param ipString {@code String} to evaluated as an IP URI host string literal
       * @return {@code true} if the argument is a valid IP URI host
       */
      public static boolean isUriInetAddress(String ipString) {
        return forUriStringOrNull(ipString, /* parseScope= */ false) != null;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Connection.kt

     * as a single request/response exchange.
     *
     * ## Modern TLS
     *
     * There are trade-offs when selecting which options to include when negotiating a secure connection
     * to a remote host. Newer TLS options are quite useful:
     *
     *  * Server Name Indication (SNI) enables one IP address to negotiate secure connections for
     *    multiple domain names.
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. docs/zh/docs/advanced/middleware.md

    强制所有传入请求必须是 `https` 或 `wss`。
    
    任何传向 `http` 或 `ws` 的请求都会被重定向至安全方案。
    
    ```Python hl_lines="2  6"
    {!../../docs_src/advanced_middleware/tutorial001.py!}
    ```
    
    ## `TrustedHostMiddleware`
    
    强制所有传入请求都必须正确设置 `Host` 请求头,以防 HTTP 主机头攻击。
    
    ```Python hl_lines="2  6-8"
    {!../../docs_src/advanced_middleware/tutorial002.py!}
    ```
    
    支持以下参数:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

        private val isBouncyCastlePreferred: Boolean
          get() {
            val preferredProvider = Security.getProviders()[0].name
            return "BC" == preferredProvider
          }
    
        /** Attempt to match the host runtime to a capable Platform implementation. */
        private fun findPlatform(): Platform =
          if (isAndroid) {
            findAndroidPlatform()
          } else {
            findJvmPlatform()
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. docs/pt/docs/deployment/manually.md

    Se você instalou um servidor ASGI manualmente, normalmente precisará passar uma string de importação em um formato especial para que ele importe sua aplicação FastAPI:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --host 0.0.0.0 --port 80
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
    ```
    
    </div>
    
    /// note | "Nota"
    
    O comando `uvicorn main:app` refere-se a:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 20 11:10:02 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. docs/fr/docs/deployment/docker.md

    Dans ce cas, votre `Dockerfile` pourrait ressembler à ceci :
    
    ```Dockerfile
    FROM python:3.7
    
    RUN pip install fastapi uvicorn
    
    EXPOSE 80
    
    COPY ./app /app
    
    CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
    ```
    
    ## Créer le code **FastAPI**.
    
    * Créer un répertoire `app` et y entrer.
    * Créez un fichier `main.py` avec :
    
    ```Python
    from typing import Optional
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top