Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for texts (0.13 sec)

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

        // ideographic space
        assertThat(parse("http://h/\u3000").encodedPath).isEqualTo("/%E3%80%80")
      }
    
      @Test
      fun newBuilderResolve() {
        // Non-exhaustive tests because implementation is the same as resolve.
        val base = parse("http://host/a/b")
        assertThat(base.newBuilder("https://host2")!!.build())
          .isEqualTo(parse("https://host2/"))
    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/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val call =
          client.newCall(
            Request(
              url = server.url("/foo"),
              body =
                object : RequestBody() {
                  override fun contentType(): MediaType = "text/plain; charset=utf-8".toMediaType()
    
                  override fun writeTo(sink: BufferedSink) {
                    sink.write(postBytes)
                  }
                },
            ),
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

        being updated.
     *  Fix: Make logging more consistent throughout OkHttp.
     *  Fix: Log plaintext bodies only. This uses simple heuristics to differentiate
        text from other data.
     *  Fix: Recover from `REFUSED_STREAM` errors in HTTP/2. This should improve
        interoperability with Nginx 1.10.0, which [refuses][nginx_959] streams
        created before HTTP/2 settings have been acknowledged.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        requestBodySuccess(
          "Hello".toRequestBody("text/plain".toMediaType()),
          CoreMatchers.equalTo(5L),
          CoreMatchers.equalTo(19L),
        )
      }
    
      @Test
      fun requestBodySuccessHttp() {
        requestBodySuccess(
          "Hello".toRequestBody("text/plain".toMediaType()),
          CoreMatchers.equalTo(5L),
          CoreMatchers.equalTo(19L),
        )
    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)
Back to top