Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for reported (0.29 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

      val oldName = currentThread.name
      currentThread.name = name
      try {
        block()
      } finally {
        currentThread.name = oldName
      }
    }
    
    /** Returns the Content-Length as reported by the response headers. */
    internal fun Response.headersContentLength(): Long {
      return headers["Content-Length"]?.toLongOrDefault(-1L) ?: -1L
    }
    
    /** Returns an immutable copy of this. */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_4x.md

        could use new flow control capacity before acknowledging it, causing strict HTTP/2 servers to
        fail the call.
    
    
    ## Version 4.1.1
    
    _2019-09-05_
    
     *  Fix: Don't drop repeated headers when validating cached responses. In our Kotlin upgrade we
        introduced a regression where we iterated the number of unique header names rather than then
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  3. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    16F88..16F8E  ; disallowed                             # NA   <reserved-16F88>..<reserved-16F8E>
    16F8F..16F9F  ; valid                                  # 6.1  MIAO TONE RIGHT..MIAO LETTER REFORMED TONE-8
    16FA0..16FDF  ; disallowed                             # NA   <reserved-16FA0>..<reserved-16FDF>
    16FE0         ; valid                                  # 9.0  TANGUT ITERATION MARK
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        timeToFirstByte()
      }
    
      /**
       * Test to confirm that events are reported at the time they occur and no earlier and no later.
       * This inserts a bunch of synthetic 250 ms delays into both client and server and confirms that
       * the same delays make it back into the events.
       *
       * We've had bugs where we report an event when we request data rather than when the data actually
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          override fun publish(record: LogRecord) {
            val recorded =
              when (record.loggerName) {
                TaskRunner::class.java.name -> recordTaskRunner
                Http2::class.java.name -> recordFrames
                "javax.net.ssl" -> recordSslDebug && !sslExcludeFilter.matches(record.message)
                else -> false
              }
    
            if (recorded) {
              synchronized(clientEventsList) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

       * multiple requests, each request is assigned its own sequence number.
       */
      val sequenceNumber: Int,
      socket: Socket,
      /**
       * The failure MockWebServer recorded when attempting to decode this request. If, for example,
       * the inbound request was truncated, this exception will be non-null.
       */
      val failure: IOException? = null,
    ) {
      val method: String?
      val path: String?
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RecordedResponse.kt

    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.text.SimpleDateFormat
    import java.util.Date
    
    /**
     * A received response or failure recorded by the response recorder.
     */
    class RecordedResponse(
      @JvmField val request: Request,
      val response: Response?,
      val webSocket: WebSocket?,
      val body: String?,
      val failure: IOException?,
    ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/EventListener.kt

     * successful (non-null parameters), or failed (non-null throwable). The first common parameters of
     * each event pair are used to link the event in case of concurrent or repeated events e.g.
     * `dnsStart(call, domainName)` → `dnsEnd(call, domainName, inetAddressList)`.
     *
     * Events are typically nested with this structure:
     *
     *  * call ([callStart], [callEnd], [callFailed])
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

                        clientMaxWindowBits = value?.toIntOrNull()
                        if (clientMaxWindowBits == null) unexpectedValues = true // Not an int!
                      }
                      name.equals("client_no_context_takeover", ignoreCase = true) -> {
                        if (clientNoContextTakeover) unexpectedValues = true // Repeated parameter!
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

        val recorded = server.takeRequest()
        assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
        assertThat(recorded.headers["Accept-Encoding"]).isNull() // No built-in gzip.
        assertThat(recorded.headers["Connection"]).isEqualTo("Upgrade, HTTP2-Settings")
        if (PlatformVersion.majorVersion < 19) {
          assertThat(recorded.headers["Content-Length"]).isEqualTo("0")
        }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top