Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for wazero (0.16 sec)

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

        // hair space
        assertThat(parse("http://h/\u200a").encodedPath).isEqualTo("/%E2%80%8A")
        // zero-width space
        assertThat(parse("http://h/\u200b").encodedPath).isEqualTo("/%E2%80%8B")
        // zero-width non-joiner
        assertThat(parse("http://h/\u200c").encodedPath).isEqualTo("/%E2%80%8C")
        // zero-width joiner
        assertThat(parse("http://h/\u200d").encodedPath).isEqualTo("/%E2%80%8D")
        // left-to-right mark
    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/internal/connection/RealConnection.kt

       */
      internal var allocationLimit = 1
        private set
    
      /** Current calls carried by this connection. */
      val calls = mutableListOf<Reference<RealCall>>()
    
      /** Timestamp when `allocations.size()` reached zero. Also assigned upon initial connection. */
      var idleAtNs = Long.MAX_VALUE
    
      /**
       * Returns true if this is an HTTP/2 connection. Such connections can be used in multiple HTTP
       * requests simultaneously.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          assertThat(header.constructed).isFalse()
          assertThat(header.length).isEqualTo(201)
        }
    
        assertThat(derReader.hasNext()).isFalse()
      }
    
      @Test fun `decode length encoded with leading zero byte`() {
        val buffer =
          Buffer()
            .writeByte(0b00000010)
            .writeByte(0b10000010)
            .writeByte(0b00000000)
            .writeByte(0b01111111)
    
        val derReader = DerReader(buffer)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_4x.md

        `BufferedSource.toResponseBody()` to `BufferedSource.asResponseBody()`. If the returned value
        is a view of what created it, we use _as_.
     *  Fix: Permit response codes of zero for compatibility with OkHttp 3.x.
     *  Fix: Change the return type of `MockWebServer.takeRequest()` to be nullable.
     *  Fix: Make `Call.clone()` public to Kotlin callers.
    
    
    ## Version 4.0.0-RC1
    
    _2019-06-03_
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      }
    
      /** For example, empty Protobuf RPC messages end up as a zero-length POST.  */
      @Test
      fun zeroLengthPost() {
        zeroLengthPayload("POST")
      }
    
      @Test
      fun zeroLengthPost_HTTP_2() {
        enableProtocol(Protocol.HTTP_2)
        zeroLengthPost()
      }
    
      /** For example, creating an Amazon S3 bucket ends up as a zero-length POST.  */
      @Test
      fun zeroLengthPut() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.C.1.2.txt

       2002; EN SPACE
       2003; EM SPACE
       2004; THREE-PER-EM SPACE
       2005; FOUR-PER-EM SPACE
       2006; SIX-PER-EM SPACE
       2007; FIGURE SPACE
       2008; PUNCTUATION SPACE
       2009; THIN SPACE
       200A; HAIR SPACE
       200B; ZERO WIDTH SPACE
       202F; NARROW NO-BREAK SPACE
       205F; MEDIUM MATHEMATICAL SPACE
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 409 bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

          )
    
        parts.close()
    
        assertFailsWith<IllegalStateException> {
          parts.nextPart()
        }.also { expected ->
          assertThat(expected).hasMessage("closed")
        }
      }
    
      @Test fun `zero parts`() {
        val multipart =
          """
          |--simple boundary--
          """.trimMargin()
            .replace("\n", "\r\n")
    
        val parts =
          MultipartReader(
            boundary = "simple boundary",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CallTest.kt

          .assertFailure("HTTP 204 had non-zero Content-Length: 39")
      }
    
      @Test
      fun http205WithBodyDisallowed() {
        server.enqueue(
          MockResponse(
            code = 205,
            body = "I'm not even supposed to be here today.",
          ),
        )
        executeSynchronously("/")
          .assertFailure("HTTP 205 had non-zero Content-Length: 39")
      }
    
      @Test
    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)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

          sink.flush()
        }
      }
    
      /**
       * Tell the peer to stop creating streams and that we last processed `lastGoodStreamId`, or zero
       * if no streams were processed.
       *
       * @param lastGoodStreamId the last stream ID processed, or zero if no streams were processed.
       * @param errorCode reason for closing the connection.
       * @param debugData only valid for HTTP/2; opaque debug data to send.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

         *
         * @param lastGoodStreamId the last stream ID the peer processed before sending this message. If
         *     [lastGoodStreamId] is zero, the peer processed no frames.
         * @param errorCode reason for closing the connection.
         * @param debugData only valid for HTTP/2; opaque debug data to send.
         */
        fun goAway(
          lastGoodStreamId: Int,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top