Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 1,294 for server (0.04 sec)

  1. docs/zh/docs/advanced/middleware.md

    以及如何[使用 `CORSMiddleware` 处理 CORS](../tutorial/cors.md){.internal-link target=_blank}。
    
    本章学习如何使用其它中间件。
    
    ## 添加 ASGI 中间件
    
    因为 **FastAPI** 基于 Starlette,且执行 <abbr title="Asynchronous Server Gateway Interface,异步服务器网关界面">ASGI</abbr> 规范,所以可以使用任意 ASGI 中间件。
    
    中间件不必是专为 FastAPI 或 Starlette 定制的,只要遵循 ASGI 规范即可。
    
    总之,ASGI 中间件是类,并把 ASGI 应用作为第一个参数。
    
    因此,有些第三方 ASGI 中间件的文档推荐以如下方式使用中间件:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users_test.go

    	s.RestartIAMSuite(c)
    }
    
    func (s *TestSuiteIAM) SetUpSuite(c *check) {
    	// If etcd backend is specified and etcd server is not present, the test
    	// is skipped.
    	etcdServer := env.Get(EnvTestEtcdBackend, "")
    	if s.withEtcdBackend && etcdServer == "" {
    		c.Skip("Skipping etcd backend IAM test as no etcd server is configured.")
    	}
    
    	s.TestSuiteCommon.SetUpSuite(c)
    
    	s.iamSetup(c)
    
    	if s.withEtcdBackend {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/policy/v1beta1/generated.proto

      optional int64 observedGeneration = 1;
    
      // DisruptedPods contains information about pods whose eviction was
      // processed by the API server eviction subresource handler but has not
      // yet been observed by the PodDisruptionBudget controller.
      // A pod will be in this map from the time when the API server processed the
      // eviction request to the time when the pod is seen by PDB controller
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. docs/de/docs/contributing.md

    Dieses können Sie dann mit dem Befehl `serve` bereitstellen:
    
    <div class="termy">
    
    ```console
    // Verwenden Sie das Kommando „serve“ nachdem Sie „build-all“ ausgeführt haben.
    $ python ./scripts/docs.py serve
    
    Warning: this is a very simple server. For development, use mkdocs serve instead.
    This is here only to preview a site with translations already built.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    utilize a versão com `Annotated` se possível.
    
    ///
    
    ```Python hl_lines="13-14"
    {!> ../../docs_src/dependencies/tutorial008c.py!}
    ```
    
    ////
    
    Neste caso, o cliente irá ver uma resposta *HTTP 500 Internal Server Error* como deveria acontecer, já que não estamos levantando nenhuma `HTTPException` ou coisa parecida, mas o servidor **não terá nenhum log** ou qualquer outra indicação de qual foi o erro. 😱
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                if (!result.isEmpty()) {
                    delete(userDN, adminEnv);
                } else {
                    logger.info("{} does not exist in LDAP server.", user.getName());
                }
            });
    
        }
    
        public void insert(final Role role) {
            if (!fessConfig.isLdapAdminEnabled()) {
                return;
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         * hashes (meaning negotiated via NTLM HTTP Authentication) and the other does not they will not be equal. This is
         * technically not correct however the server 8 byte challenge would be required to compute and compare the password
         * hashes but that it not available with this method.
         */
        @Override
        public boolean equals ( Object obj ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  8. internal/event/target/nsq.go

    	}
    
    	if err := target.send(eventData); err != nil {
    		return err
    	}
    
    	// Delete the event from store.
    	return target.store.Del(key)
    }
    
    // Close - closes underneath connections to NSQD server.
    func (target *NSQTarget) Close() (err error) {
    	close(target.quitCh)
    	if target.producer != nil {
    		// this blocks until complete:
    		target.producer.Stop()
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. internal/dsync/dsync-server_test.go

    	"io"
    	"net/http"
    	"net/http/httptest"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/mux"
    )
    
    const numberOfNodes = 5
    
    var (
    	ds          *Dsync
    	nodes       = make([]*httptest.Server, numberOfNodes) // list of node IP addrs or hostname with ports.
    	lockServers = make([]*lockServer, numberOfNodes)
    )
    
    func getLockArgs(r *http.Request) (args LockArgs, err error) {
    	buf, err := io.ReadAll(r.Body)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. docs/zh-hant/docs/fastapi-cli.md

    <font color="#4E9A06">INFO</font>:     Started reloader process [<font color="#34E2E2"><b>2265862</b></font>] using <font color="#34E2E2"><b>WatchFiles</b></font>
    <font color="#4E9A06">INFO</font>:     Started server process [<font color="#06989A">2265873</font>]
    <font color="#4E9A06">INFO</font>:     Waiting for application startup.
    <font color="#4E9A06">INFO</font>:     Application startup complete.
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Oct 18 12:12:01 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top