Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for FTP (0.12 sec)

  1. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    http://foo:80/  s:http h:foo p:/
    http://foo:81/  s:http h:foo port:81 p:/
    httpa://foo:80/  s:httpa p://foo:80/
    http://foo:-80/
    https://foo:443/  s:https h:foo p:/
    https://foo:80/  s:https h:foo port:80 p:/
    ftp://foo:21/  s:ftp h:foo p:/
    ftp://foo:80/  s:ftp h:foo port:80 p:/
    gopher://foo:70/  s:gopher h:foo p:/
    gopher://foo:443/  s:gopher h:foo port:443 p:/
    ws://foo:80/  s:ws h:foo p:/
    ws://foo:81/  s:ws h:foo port:81 p:/
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        assertThat(base.newBuilder("#fragment")!!.build())
          .isEqualTo(parse("http://host/a/b#fragment"))
        assertThat(base.newBuilder("")!!.build()).isEqualTo(parse("http://host/a/b"))
        assertThat(base.newBuilder("ftp://b")).isNull()
        assertThat(base.newBuilder("ht+tp://b")).isNull()
        assertThat(base.newBuilder("ht-tp://b")).isNull()
        assertThat(base.newBuilder("ht.tp://b")).isNull()
      }
    
      @Test
      fun redactedUrl() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

      @Test
      fun invalidScheme() {
        val requestBuilder = Request.Builder()
        assertFailsWith<IllegalArgumentException> {
          requestBuilder.url("ftp://hostname/path")
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Expected URL scheme 'http' or 'https' but was 'ftp'")
        }
      }
    
      @Test
      fun invalidPort() {
        val requestBuilder = Request.Builder()
        assertFailsWith<IllegalArgumentException> {
    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)
  4. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * ### Scheme
     *
     * Sometimes referred to as *protocol*, A URL's scheme describes what mechanism should be used to
     * retrieve the resource. Although URLs have many schemes (`mailto`, `file`, `ftp`), this class only
     * supports `http` and `https`. Use [java.net.URI][URI] for URLs with arbitrary schemes.
     *
     * ### Username and Password
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
Back to top