Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for readDirect (0.1 sec)

  1. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  3. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  4. fastapi/routing.py

                            }
                            # 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
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

                DfsReferral start = dr;
                SmbException se = null;
    
                do {
                    try {
                        if (log.level >= 2)
                            log.println("DFS redirect: " + dr);
    
                        UniAddress addr = UniAddress.getByName(dr.server);
                        SmbTransport trans = SmbTransport.getSmbTransport(addr, url.getPort());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        assertThat(redirectRequest.headers["Authorization"]).isNull()
        assertThat(redirectRequest.path).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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    		"Expires",
    		"Cache-Control",
    		"Content-Language",
    		"Content-Disposition",
    		"X-Amz-Object-Lock-Mode",
    		"X-Amz-Object-Lock-Retain-Until-Date",
    		"X-Amz-Object-Lock-Legal-Hold",
    		"X-Amz-Website-Redirect-Location",
    		"X-Amz-Meta-",
    	}
    
    	// compare metadata on both maps to see if meta is identical
    	compareMeta1 := make(map[string]string)
    	for k, v := range oi1.UserDefined {
    		var found bool
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top