Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1121 - 1130 of 1,527 for SERVER (0.04 seconds)

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

    你也讀過如何處理 [使用 `CORSMiddleware` 的 CORS](../tutorial/cors.md)。
    
    本節將示範如何使用其他中介軟體。
    
    ## 新增 ASGI 中介軟體 { #adding-asgi-middlewares }
    
    由於 **FastAPI** 建立在 Starlette 上並實作了 <abbr title="Asynchronous Server Gateway Interface - 非同步伺服器閘道介面">ASGI</abbr> 規範,你可以使用任何 ASGI 中介軟體。
    
    中介軟體不一定要為 FastAPI 或 Starlette 專門撰寫,只要遵循 ASGI 規範即可運作。
    
    一般來說,ASGI 中介軟體是類別,預期第一個參數接收一個 ASGI 應用程式。
    
    因此,在第三方 ASGI 中介軟體的文件中,通常會指示你這樣做:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  2. internal/event/targetlist_test.go

    	if target.closeErr {
    		return errors.New("close error")
    	}
    
    	return nil
    }
    
    func (target ExampleTarget) IsActive() (bool, error) {
    	return false, errors.New("not connected to target server/service")
    }
    
    // FlushQueueStore - No-Op. Added for interface compatibility
    func (target ExampleTarget) FlushQueueStore() error {
    	return nil
    }
    
    func TestTargetListAdd(t *testing.T) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. 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 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                if (!result.isEmpty()) {
                    delete(userDN, adminEnv);
                } else {
                    logger.info("User does not exist in LDAP server: name={}", user.getName());
                }
            });
    
        }
    
        /**
         * Inserts or updates a role in the LDAP directory.
         *
         * @param role the role object to insert or update
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 85.2K bytes
    - Click Count (0)
  5. .idea/gradle.xml

                <option value="$PROJECT_DIR$/platforms/core-execution/build-cache-spi" />
                <option value="$PROJECT_DIR$/platforms/core-execution/daemon-server-worker" />
                <option value="$PROJECT_DIR$/platforms/core-execution/execution" />
                <option value="$PROJECT_DIR$/platforms/core-execution/execution-e2e-tests" />
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 10:18:20 GMT 2026
    - 25.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

        public void testIsValidWithUnicode() {
            SmbNegotiationRequest request = mock(SmbNegotiationRequest.class);
            response.getServerData().scapabilities = SmbConstants.CAP_UNICODE;
            // Set some required server data for valid response
            response.getServerData().smaxMpxCount = 1;
            response.getServerData().maxBufferSize = 16384;
    
            assertTrue(response.isValid(mockContext, request));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        }
    
        @Test
        void testToStringWithDifferentPaths() {
            // Test with various path formats
            String[] testPaths = { "simple.txt", "path/to/file.doc", "//server/share/file.txt", "folder\\windows\\style.txt", "" // empty path
            };
    
            for (String path : testPaths) {
                trans2QueryPathInfo = new Trans2QueryPathInformation(config, path, TEST_INFO_LEVEL);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  8. .github/workflows/tests.yml

            go: ['stable', 'oldstable']
            platform: [ubuntu-latest] # can not run test in macOS and windows
        runs-on: ${{ matrix.platform }}
    
        services:
          mssql:
            image: mcr.microsoft.com/mssql/server:2022-latest
            env:
              TZ: Asia/Shanghai
              ACCEPT_EULA: Y
              MSSQL_SA_PASSWORD: LoremIpsum86
            ports:
              - 9930:1433
            options: >-
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Mar 23 10:05:06 GMT 2026
    - 9K bytes
    - Click Count (0)
  9. docs/ja/docs/advanced/middleware.md

    そして、[`CORSMiddleware` を使った CORS の扱い方](../tutorial/cors.md)も学びました。
    
    このセクションでは、その他のミドルウェアの使い方を見ていきます。
    
    ## ASGI ミドルウェアの追加 { #adding-asgi-middlewares }
    
    **FastAPI** は Starlette を基盤としており、<abbr title="Asynchronous Server Gateway Interface - 非同期サーバーゲートウェイインターフェース">ASGI</abbr> 仕様を実装しているため、任意の ASGI ミドルウェアを利用できます。
    
    ミドルウェアは ASGI 仕様に従っていれば、FastAPI や Starlette 専用に作られていなくても動作します。
    
    一般に、ASGI ミドルウェアは最初の引数として ASGI アプリを受け取るクラスです。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  10. cmd/api-response.go

    	KeyMarker string
    
    	// When response is truncated (the IsTruncated element value in the response
    	// is true), you can use the key name in this field as marker in the subsequent
    	// request to get next set of objects. Server lists objects in alphabetical
    	// order Note: This element is returned only if you have delimiter request parameter
    	// specified. If response does not include the NextMaker and it is truncated,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
Back to Top