Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 836 for EXAMPLE (0.12 sec)

  1. docs/en/docs/tutorial/security/simple-oauth2.md

    If you need to enforce it, use `OAuth2PasswordRequestFormStrict` instead of `OAuth2PasswordRequestForm`.
    
    ///
    
    * An optional `client_id` (we don't need it for our example).
    * An optional `client_secret` (we don't need it for our example).
    
    /// info
    
    The `OAuth2PasswordRequestForm` is not a special class for **FastAPI** as is `OAuth2PasswordBearer`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

          Route(
            factory.newAddress(uriHost = "example.com", uriPort = 1003),
            Proxy.NO_PROXY,
            InetSocketAddress(ipv4Address, 1003),
          ).toString(),
        ).isEqualTo("example.com at 1.2.3.4:1003")
        assertThat(
          Route(
            factory.newAddress(uriHost = "example.com", uriPort = 1003),
            Proxy(Proxy.Type.HTTP, InetSocketAddress.createUnresolved("proxy.example.com", 1003)),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/encoder.md

    For example, if you need to store it in a database.
    
    For that, **FastAPI** provides a `jsonable_encoder()` function.
    
    ## Using the `jsonable_encoder` { #using-the-jsonable-encoder }
    
    Let's imagine that you have a database `fake_db` that only receives JSON compatible data.
    
    For example, it doesn't receive `datetime` objects, as those are not compatible with JSON.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/https.md

    ### Multiple Applications { #multiple-applications }
    
    In the same server (or servers), there could be **multiple applications**, for example, other API programs or a database.
    
    Only one process can be handling the specific IP and port (the TLS Termination Proxy in our example) but the other applications/processes can be running on the server(s) too, as long as they don't try to use the same **combination of public IP and port**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ComparisonChain.java

     *     return COMPARATOR.compare(this, that);
     *   }
     * }
     *
     * <p>With method references it is more succinct: {@code comparing(Foo::aString)} for example.
     *
     * <p>Using {@link Comparator} avoids certain types of bugs, for example when you meant to write
     * {@code .compare(a.foo, b.foo)} but you actually wrote {@code .compare(a.foo, a.foo)} or {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. 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`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/AddressTest.kt

        val address = factory.newAddress()
        assertThat(address.toString())
          .isEqualTo("Address{example.com:80, proxySelector=RecordingProxySelector}")
      }
    
      @Test fun addressWithProxyToString() {
        val address = factory.newAddress(proxy = Proxy.NO_PROXY)
        assertThat(address.toString())
          .isEqualTo("Address{example.com:80, proxy=${Proxy.NO_PROXY}}")
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

     * A {@code PathType} can identify the Java class-path, the Java module path,
     * or another kind of path for another programming language for example.
     * Path types are often exclusive. For example, a dependency should not be
     * both on the Java class path and on the Java module path.
     *
     * @see org.apache.maven.api.services.DependencyResolverResult#getDispatchedPaths()
     *
     * @since 4.0.0
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Jan 07 12:02:00 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                referralData.fixupDomain("example.com");
    
                assertEquals("SERVER.example.com", referralData.getServer());
            }
    
            @Test
            @DisplayName("Should not fixup domain for qualified name")
            void testFixupDomainWithQualifiedName() {
                setupReferralWithServer("server.example.com");
    
                referralData.fixupDomain("otherdomain.com");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

       * included a `domain` attribute.
       *
       * For example, suppose the cookie's domain is `example.com`. If this flag is true it matches
       * **only** `example.com`. If this flag is false it matches `example.com` and all subdomains
       * including `api.example.com`, `www.example.com`, and `beta.api.example.com`.
       *
       * This is true unless 'domain' is present.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top