Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for customDns (0.14 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

        executeSynchronously("/")
          .assertHeader("a\tb", "c\u007fd")
          .assertHeader("\ud83c\udf69", "\u2615\ufe0f")
          .assertHeader("", "ef")
      }
    
      @Test
      fun customDns() {
        // Configure a DNS that returns our local MockWebServer for android.com.
        val dns = FakeDns()
        dns["android.com"] = Dns.SYSTEM.lookup(server.url("/").host)
        client =
          client.newBuilder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    //
    //	User-Agent:
    //
    //	    This is ignored from signing because signing this causes problems with generating pre-signed URLs
    //	    (that are executed by other agents) or when customers pass requests through proxies, which may
    //	    modify the user-agent.
    //
    //	Authorization:
    //
    //	    Is skipped for obvious reasons
    var ignoredHeaders = map[string]bool{
    	"Authorization": true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
Back to top