Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toHttpUrl (0.04 sec)

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

          "http://and roid.com/".toHttpUrl()
        }
      }
    
      @Test
      fun urlWithSpaceInHostViaHttpProxy() {
        assertFailsWith<IllegalArgumentException> {
          "http://and roid.com/".toHttpUrl()
        }
      }
    
      @Test
      fun urlHostWithNul() {
        assertFailsWith<IllegalArgumentException> {
          "http://host\u0000/".toHttpUrl()
        }
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

    import okhttp3.CallEvent.ResponseFailed
    import okhttp3.CertificatePinner.Companion.pin
    import okhttp3.Credentials.basic
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.RequestBody.Companion.toRequestBody
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okhttp3.TestUtil.assumeNotWindows
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top