Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 1,457 for fluent (0.28 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_security_scopes_dont_propagate.py

    app = FastAPI()
    
    
    @app.get("/scopes")
    def get_scopes(
        dep3: Annotated[dict[str, Any], Security(dep3, scopes=["scope3"])],
    ):
        return dep3
    
    
    client = TestClient(app)
    
    
    def test_security_scopes_dont_propagate():
        response = client.get("/scopes")
        assert response.status_code == 200
        assert response.json() == {
            "dep1": ["scope3", "scope1"],
            "dep2": ["scope3", "scope2"],
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 973 bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/PostString.kt

    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.toRequestBody
    
    class PostString {
      private val client = OkHttpClient()
    
      fun run() {
        val postBody =
          """
          |Releases
          |--------
          |
          | * _1.0_ May 6, 2013
          | * _1.1_ June 15, 2013
          | * _1.2_ August 11, 2013
          |
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  3. docs/logging/README.md

    sasl             (on|off)    set to 'on' to enable SASL authentication
    tls              (on|off)    set to 'on' to enable TLS
    tls_skip_verify  (on|off)    trust server TLS without verification, defaults to "on" (verify)
    client_tls_cert  (path)      path to client certificate for mTLS auth
    client_tls_key   (path)      path to client key for mTLS auth
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt

    object EventSources {
      @Deprecated(
        message = "required for binary-compatibility!",
        level = DeprecationLevel.HIDDEN,
      )
      @JvmStatic
      fun createFactory(client: OkHttpClient) = createFactory(client as Call.Factory)
    
      @JvmStatic
      fun createFactory(callFactory: Call.Factory): EventSource.Factory =
        EventSource.Factory { request, listener ->
          val actualRequest =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java

     */
    @RunWith(AndroidJUnit4.class)
    public class OkHttpClientTest {
      @Test public void get() throws IOException {
        OkHttpClient client = new OkHttpClient();
        Request request = new Request.Builder()
            .url("https://google.com/robots.txt")
            .build();
        try (Response response = client.newCall(request).execute()) {
          assertEquals(200, response.code());
          assertEquals(Protocol.HTTP_2, response.protocol());
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Nov 14 17:38:22 GMT 2020
    - 1.4K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    
    class AsynchronousGet {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
        client.newCall(request).enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. tests/test_list_bytes_file_order_preserved_issue_14811.py

            return await original_read(self, size)
    
        monkeypatch.setattr(StarletteUploadFile, "read", patched_read)
    
        client = TestClient(app)
    
        files = [
            ("files", ("slow.txt", b"A" * 10, "text/plain")),
            ("files", ("fast.txt", b"B" * 10, "text/plain")),
        ]
        r = client.post("/upload", files=files)
        assert r.status_code == 200, r.text
    
        # Must preserve request order: slow first, fast second
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 12:14:38 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

         * Here's the order of events that we want.
         *
         * 1. The client thread begins to block on a get() call to a future.
         * 2. The client thread is interrupted sometime before the result would be
         *   available.
         * 3. We expect the client's get() to throw an InterruptedException.
         * 4. We expect the client thread's interrupt state to be false.
         * 5. The client thread again makes a blocking call to get().
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  9. docs/sts/web-identity.go

    		"http://localhost:8080/auth/realms/minio/.well-known/openid-configuration",
    		"OpenID discovery document endpoint")
    	flag.StringVar(&clientID, "cid", "", "Client ID")
    	flag.StringVar(&clientSec, "csec", "", "Client Secret")
    	flag.StringVar(&clientScopes, "cscopes", "openid", "Client Scopes")
    	flag.IntVar(&port, "port", 8080, "Port")
    }
    
    func implicitFlowURL(c oauth2.Config, state string) string {
    	var buf bytes.Buffer
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Click Count (0)
  10. docs/tr/docs/advanced/behind-a-proxy.md

    ### Proxy Forwarded Header'ları Nasıl Çalışır { #how-proxy-forwarded-headers-work }
    
    **Proxy**'nin, client ile **application server** arasında forwarded header'ları nasıl eklediğini gösteren görsel bir temsil:
    
    ```mermaid
    sequenceDiagram
        participant Client
        participant Proxy as Proxy/Load Balancer
        participant Server as FastAPI Server
    
        Client->>Proxy: HTTPS Request<br/>Host: mysuperapp.com<br/>Path: /items
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 16.5K bytes
    - Click Count (0)
Back to Top