Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1011 - 1020 of 1,153 for 2000 (0.09 seconds)

  1. docs/zh/docs/advanced/behind-a-proxy.md

    例如,假设你定义了一个*路径操作* `/items/`:
    
    {* ../../docs_src/behind_a_proxy/tutorial001_01_py310.py hl[6] *}
    
    如果客户端尝试访问 `/items`,默认会被重定向到 `/items/`。
    
    但在设置 *CLI 选项* `--forwarded-allow-ips` 之前,它可能会重定向到 `http://localhost:8000/items/`。
    
    而你的应用可能托管在 `https://mysuperapp.com`,重定向应当是 `https://mysuperapp.com/items/`。
    
    通过设置 `--proxy-headers`,FastAPI 现在就可以重定向到正确的位置。😎
    
    ```
    https://mysuperapp.com/items/
    ```
    
    /// tip | 提示
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  2. LICENSES/third_party/forked/gotestsum/LICENSE

                                     Apache License
                               Version 2.0, January 2004
                            http://www.apache.org/licenses/
    
       TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
    
       1. Definitions.
    
          "License" shall mean the terms and conditions for use, reproduction,
          and distribution as defined by Sections 1 through 9 of this document.
    
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Fri Apr 01 18:49:15 GMT 2022
    - 11.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, new int[] { 1, 2 });
                byte[] smallBuffer = new byte[100]; // Make buffer large enough
                byte[] largeBuffer = new byte[1000];
    
                // Act
                int smallEncodedSize = context.encode(smallBuffer, 0);
                int largeEncodedSize = context.encode(largeBuffer, 500);
    
                // Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  4. LICENSE

                                     Apache License
                               Version 2.0, January 2004
                            http://www.apache.org/licenses/
    
       TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
    
       1. Definitions.
    
          "License" shall mean the terms and conditions for use, reproduction,
          and distribution as defined by Sections 1 through 9 of this document.
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 11 20:39:30 GMT 2013
    - 11.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/SearchHelper.java

            nf.setMaximumIntegerDigits(2);
            nf.setMaximumFractionDigits(2);
            String execTime;
            try {
                execTime = nf.format((double) queryResponseList.getExecTime() / 1000);
            } catch (final Exception e) {
                execTime = StringUtil.EMPTY;
            }
            data.setExecTime(execTime);
    
            final String queryId = ComponentUtil.getQueryHelper().generateId();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

            .isEqualTo("Code must be in range [1000,5000): 1")
        }
        data.write("88021388".decodeHex()) // Close with code 5000
        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Code must be in range [1000,5000): 5000")
        }
      }
    
      @Test fun closeReservedSetThrows() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  7. scripts/people.py

            headers=headers,
            timeout=settings.httpx_timeout,
            json={"query": query, "variables": variables, "operationName": "Q"},
        )
        if response.status_code != 200:
            logging.error(
                f"Response was not 200, after: {after}, category_id: {category_id}"
            )
            logging.error(response.text)
            raise RuntimeError(response.text)
        data = response.json()
        if "errors" in data:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:51:24 GMT 2026
    - 15K bytes
    - Click Count (0)
  8. internal/http/listener_test.go

    		{[]string{"localhost:" + casePorts[0]}, "127.0.0.1:" + casePorts[0]},
    		{[]string{nonLoopBackIP + ":" + casePorts[1]}, nonLoopBackIP + ":" + casePorts[1]},
    		{[]string{"127.0.0.1:" + casePorts[2], nonLoopBackIP + ":" + casePorts[2]}, "0.0.0.0:" + casePorts[2]},
    		{[]string{"localhost:" + casePorts[3]}, "127.0.0.1:" + casePorts[3]},
    		{[]string{nonLoopBackIP + ":" + casePorts[4]}, nonLoopBackIP + ":" + casePorts[4]},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

    /* jcifs smb client library in Java
     * Copyright (C) 2002  "Michael B. Allen" <jcifs at samba dot org>
     *                   "Eric Glass" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  10. cmd/global-heal.go

    		return healEntryResult{
    			bytes:   sz,
    			skipped: true,
    		}
    	}
    
    	// Collect updates to tracker from concurrent healEntry calls
    	results := make(chan healEntryResult, 1000)
    	quitting := make(chan struct{})
    	defer func() {
    		close(results)
    		<-quitting
    	}()
    
    	go func() {
    		for res := range results {
    			if res.entryDone {
    				tracker.setObject(res.name)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 04 13:49:12 GMT 2025
    - 16.2K bytes
    - Click Count (0)
Back to Top