Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for wouldn (1.25 sec)

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

        assertThat(url.queryParameter("a")).isEqualTo("!$(),/:;?@[]\\^`{|}~")
      }
    
      /**
       * When callers parse a URL with query components that aren't encoded, we shouldn't convert them
       * into a canonical form because doing so could be semantically different.
       */
      @Test
      fun queryCharactersNotReencodedWhenParsed() {
        val url = parse("http://host/?a=!$(),/:;?@[]\\^`{|}~")
    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)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       */
      fun redact(): String {
        return newBuilder("/...")!!
          .username("")
          .password("")
          .build()
          .toString()
      }
    
      /**
       * Returns the URL that would be retrieved by following `link` from this URL, or null if the
       * resulting URL is not well-formed.
       */
      fun resolve(link: String): HttpUrl? = newBuilder(link)?.build()
    
      /**
    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)
  3. okhttp/src/test/java/okhttp3/EventListenerTest.kt

          MockResponse.Builder()
            .code(200)
            .body("World!")
            .build(),
        )
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .post(body!!)
              .build(),
          )
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("World!")
        assertBytesReadWritten(
          listener,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        filesystem.deleteRecursively(cacheDir)
        assertThat(cache["a"]).isNull()
      }
    
      /**
       * We had a long-lived bug where [DiskLruCache.trimToSize] could infinite loop if entries
       * being edited required deletion for the operation to complete.
       */
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(synStream.streamId).isEqualTo(3)
        assertThat(synStream.associatedStreamId).isEqualTo(-1)
        assertThat(synStream.headerBlock).isEqualTo(headerEntries("a", "artichaut"))
      }
    
      /** A server RST_STREAM shouldn't prevent the client from consuming the response body.  */
      @Test fun serverResponseBodyRstStream() {
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top