Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for proxySelectorNotCalledForNullHost (0.18 sec)

  1. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

      }
    
      /**
       * Don't call through to the proxy selector if we don't have a host name.
       * https://github.com/square/okhttp/issues/5770
       */
      @Test fun proxySelectorNotCalledForNullHost() {
        // The string '>' is okay in a hostname in HttpUrl, which does very light hostname validation.
        // It is not okay in URI, and so it's stripped and we get a URI with a null host.
        val bogusHostname = ">"
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top