Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for indirect (0.06 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

                "Test",
                "Redirect from /a to /b",
              ),
            body = "/a has moved!",
          ),
        )
        server.enqueue(
          MockResponse(body = "this is the redirect target"),
        )
    
        val call = client.newCall(Request(server.url("/")))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("this is the redirect target")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

       * syntax</a>.
       *
       * @return a new, empty {@code HashMap}
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <K extends @Nullable Object, V extends @Nullable Object>
          HashMap<K, V> newHashMap() {
        return new HashMap<>();
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

       * syntax</a>.
       *
       * @return a new, empty {@code HashMap}
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <K extends @Nullable Object, V extends @Nullable Object>
          HashMap<K, V> newHashMap() {
        return new HashMap<>();
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        // Cached!
        val response2 = get(server.url("/"))
        assertThat(response2.body.string()).isEqualTo("ABC")
        assertThat(response2.handshake!!.cipherSuite).isNotNull()
    
        // 2 direct + 2 redirect = 4
        assertThat(cache.requestCount()).isEqualTo(4)
        assertThat(cache.hitCount()).isEqualTo(2)
        assertThat(response2.handshake!!.cipherSuite).isEqualTo(
          response1.handshake!!.cipherSuite,
        )
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 116.8K bytes
    - Viewed (0)
  5. fastapi/applications.py

                Doc(
                    """
                    The OAuth2 redirect endpoint for the Swagger UI.
    
                    By default it is `/docs/oauth2-redirect`.
    
                    This is only used if you use OAuth2 (with the "Authorize" button)
                    with Swagger UI.
                    """
                ),
            ] = "/docs/oauth2-redirect",
            swagger_ui_init_oauth: Annotated[
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 176.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    df.leg.br
    dfirma.pl
    dgca.aero
    dh.bytemark.co.uk
    dhl
    diadem.cloud
    diamonds
    dielddanuorri.no
    dienbien.vn
    diet
    digick.jp
    digital
    diher.solutions
    direct
    direct.quickconnect.cn
    direct.quickconnect.to
    directory
    discordsays.com
    discordsez.com
    discount
    discourse.group
    discourse.team
    discover
    dish
    diskstation.eu
    diskstation.me
    diskstation.org
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 129.6K bytes
    - Viewed (3)
  7. fastapi/routing.py

                        "background": solved_result.background_tasks
                    }
                    # If status_code was set, use it, otherwise use the default from the
                    # response class, in the case of redirect it's 307
                    current_status_code = (
                        status_code if status_code else solved_result.response.status_code
                    )
                    if current_status_code is not None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

                final DfsReferral start = dr;
                SmbException se = null;
    
                do {
                    try {
                        if (LogStream.level >= 2) {
                            log.println("DFS redirect: " + dr);
                        }
    
                        final UniAddress addr = UniAddress.getByName(dr.server);
                        final SmbTransport trans = SmbTransport.getSmbTransport(addr, url.getPort());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        assertThat(redirectRequest.url.encodedPath).isEqualTo("/b")
      }
    
      @Test
      fun response300MultipleChoiceWithPost() {
        // Chrome doesn't follow the redirect, but Firefox and the RI both do
        testResponseRedirectedWithPost(HttpURLConnection.HTTP_MULT_CHOICE, TransferKind.END_OF_STREAM)
      }
    
      @Test
      fun response301MovedPermanentlyWithPost() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  10. okhttp/src/androidMain/assets/PublicSuffixDatabase.list

    df.leg.br
    dfirma.pl
    dgca.aero
    dh.bytemark.co.uk
    dhl
    diadem.cloud
    diamonds
    dielddanuorri.no
    dienbien.vn
    diet
    digick.jp
    digital
    diher.solutions
    direct
    direct.quickconnect.cn
    direct.quickconnect.to
    directory
    discordsays.com
    discordsez.com
    discount
    discourse.group
    discourse.team
    discover
    dish
    diskstation.eu
    diskstation.me
    diskstation.org
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Dec 31 14:50:53 UTC 2024
    - 129.6K bytes
    - Viewed (2)
Back to top