Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 2,935 for Sample (0.12 seconds)

  1. docs/en/docs/tutorial/security/first-steps.md

    Because we are using a relative URL, if your API was located at `https://example.com/`, then it would refer to `https://example.com/token`. But if your API was located at `https://example.com/api/v1/`, then it would refer to `https://example.com/api/v1/token`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  2. docs/tr/docs/index.md

    ### Alternatif API dokümantasyonu { #alternative-api-docs }
    
    Ve şimdi [http://127.0.0.1:8000/redoc](http://127.0.0.1:8000/redoc) adresine gidin.
    
    Alternatif otomatik dokümantasyonu göreceksiniz ([ReDoc](https://github.com/Rebilly/ReDoc) tarafından sağlanır):
    
    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.2K bytes
    - Click Count (0)
  3. docs/en/docs/reference/status.md

    ```python
    from fastapi import status
    ```
    
    `status` is provided directly by Starlette.
    
    It contains a group of named constants (variables) with integer status codes.
    
    For example:
    
    * 200: `status.HTTP_200_OK`
    * 403: `status.HTTP_403_FORBIDDEN`
    * etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 871 bytes
    - Click Count (0)
  4. cmd/testdata/config/invalid.yaml

    certs-dir: '/home/user/.minio/certs/'
    pools: # Specify the nodes and drives with pools
      -
            - 'https://server-example-pool1:9000/mnt/disk{1...4}/'
            - 'https://server1-pool1:9000/mnt/disk{1...4}/'
            - 'https://server3-pool1:9000/mnt/disk{1...4}/'
            - 'https://server4-pool1:9000/mnt/disk{1...4}/'
      -
            - 'https://server-example-pool2:9000/mnt/disk{1...4}/'
            - 'https://server1-pool2:9000/mnt/disk{1...4}/'
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 866 bytes
    - Click Count (0)
  5. tests/test_security_http_basic_realm.py

        assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"'
    
    
    def test_security_http_basic_invalid_credentials():
        response = client.get(
            "/users/me", headers={"Authorization": "Basic notabase64token"}
        )
        assert response.status_code == 401, response.text
        assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"'
        assert response.json() == {"detail": "Not authenticated"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  6. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

      val zstdInterceptor = CompressionInterceptor(Zstd, Gzip)
    
      @Test
      fun testDecompressZstd() {
        val s = "hello zstd world".encodeUtf8().zstdCompress()
    
        val response =
          response("https://example.com/", s) {
            header("Content-Encoding", "zstd")
          }
    
        val decompressed = zstdInterceptor.decompress(response)
        assertThat(decompressed.header("Content-Encoding")).isNull()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Aug 01 06:04:22 GMT 2025
    - 4.8K bytes
    - Click Count (1)
  7. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

              localPort = 80,
            ),
          )
        val requestLine = decodeRequestLine("CONNECT example.com:8080 HTTP/1.1")
        val request = RecordedRequest(requestLine, headers, emptyList(), 0, ByteString.EMPTY, 0, 0, socket)
        assertThat(request.target).isEqualTo("example.com:8080")
        assertThat(request.url.toString()).isEqualTo("http://example.com:8080/")
      }
    
      @Test fun testAbsoluteForm() {
        val socket =
          MockWebServerSocket(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 02 20:36:00 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/test/resources/poms/factory/complex.xml

            <my.filter.value>hello</my.filter.value>
        </properties>
    
        <profiles>
            <profile>
                <id>two-conditions</id>
                <activation>
                    <file>
                        <exists>simple.xml</exists>
                    </file>
                    <property>
                        <name>myproperty</name>
                        <value>test</value>
                    </property>
                </activation>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                String pomContent = Files.readString(pomFile);
                assertTrue(
                        pomContent.contains("<groupId>com.example</groupId>"),
                        "Expected " + pomContent + " to contain " + "<groupId>com.example</groupId>");
                // Note: The exact modifications depend on which strategies are applicable
                // This test mainly verifies that apply goal can modify files
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  10. docs_src/advanced_middleware/tutorial002_py310.py

    from fastapi import FastAPI
    from fastapi.middleware.trustedhost import TrustedHostMiddleware
    
    app = FastAPI()
    
    app.add_middleware(
        TrustedHostMiddleware, allowed_hosts=["example.com", "*.example.com"]
    )
    
    
    @app.get("/")
    async def main():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 279 bytes
    - Click Count (0)
Back to Top