Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for processing (0.18 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

    import okio.ByteString.Companion.encodeUtf8
    import okio.Options
    
    /**
     * A decoded [mapping table] that can perform the [mapping step] of IDNA processing.
     *
     * This implementation is optimized for readability over efficiency.
     *
     * This implements non-transitional processing by preserving deviation characters.
     *
     * This implementation's STD3 rules are configured to `UseSTD3ASCIIRules=false`. This is
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

      }
    
      /**
       * Process the next event. This will result in a single call to [Callback.onEvent] *unless* the
       * data section was empty. Any number of calls to [Callback.onRetryChange] may occur while
       * processing an event.
       *
       * @return false when EOF is reached
       */
      @Throws(IOException::class)
      fun processNextEvent(): Boolean {
        var id = lastId
        var type: String? = null
        val data = Buffer()
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http/HttpStatusCodes.kt

    /** `100 Continue` (HTTP/1.1 - RFC 7231)  */
    const val HTTP_CONTINUE = 100
    
    /** `102 Processing` (WebDAV - RFC 2518)  */
    const val HTTP_PROCESSING = 102
    
    /** `103 Early Hints (Early Hints - RFC 8297)` */
    const val HTTP_EARLY_HINTS = 103
    
    /** `307 Temporary Redirect` (HTTP/1.1 - RFC 7231)  */
    const val HTTP_TEMP_REDIRECT = 307
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. okhttp/src/test/resources/web-platform-test-toascii.json

      },
      {
        "comment": "CheckBidi is true",
        "input": "يa",
        "output": null
      },
      {
        "input": "xn--a-yoc",
        "output": null
      },
      {
        "comment": "processing_option is Nontransitional_Processing",
        "input": "ශ්‍රී",
        "output": "xn--10cl1a0b660p"
      },
      {
        "input": "نامه‌ای",
        "output": "xn--mgba3gch31f060k"
      },
      {
        "comment": "U+FFFD",
    Json
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

       * Read the request but don't respond to it. Just keep the socket open. For testing read response
       * header timeout issue.
       */
      object NoResponse : SocketPolicy
    
      /**
       * Fail HTTP/2 requests without processing them by sending [http2ErrorCode].
       */
      @ExperimentalOkHttpApi
      class ResetStreamAtStart(
        val http2ErrorCode: Int = 0,
      ) : SocketPolicy
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_4x.md

     *  Upgrade: [Okio 3.6.0][okio_3_6_0].
    
     *  Upgrade: [Kotlin 1.8.21][kotlin_1_8_21].
    
    
    ## Version 4.11.0
    
    _2023-04-22_
    
     *  Fix: Don't fail the call when the response code is ‘HTTP 102 Processing’ or
        ‘HTTP 103 Early Hints’.
     *  Fix: Read the response even if writing the request fails. This means you'll get a proper HTTP
        response even if the server rejects your request body.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Call.kt

       */
      fun isExecuted(): Boolean
    
      fun isCanceled(): Boolean
    
      /**
       * Returns a timeout that spans the entire call: resolving DNS, connecting, writing the request
       * body, server processing, and reading the response body. If the call requires redirects or
       * retries all must complete within one timeout period.
       *
       * Configure the client's default timeout with [OkHttpClient.Builder.callTimeout].
       */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            }
            statusLine.code == HTTP_CONTINUE -> {
              state = STATE_READ_RESPONSE_HEADERS
              responseBuilder
            }
            statusLine.code in (102 until 200) -> {
              // Processing and Early Hints will mean a second headers are coming.
              // Treat others the same for now
              state = STATE_READ_RESPONSE_HEADERS
              responseBuilder
            }
            else -> {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

      ): Boolean =
        when {
          // Server sent a 100-continue even though we did not request one. Try again to read the
          // actual response status.
          code == 100 -> true
    
          // Handle Processing (102) & Early Hints (103) and any new codes without failing
          // 100 and 101 are the exceptions with different meanings
          // But Early Hints not currently exposed
          code in (102 until 200) -> true
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.3K bytes
    - Viewed (1)
  10. CHANGELOG.md

        to use `Lock` and `Condition` instead of `synchronized` for best resource utilization.
    
     *  New: Switch our Internationalized Domain Name (IDN) implementation to [UTS #46 Nontransitional
        Processing][uts46]. With this fix, the `ß` code point no longer maps to `ss`. OkHttp now embeds
        its own IDN mapping table in the library.
    
     *  New: Prefer the client's configured precedence order for TLS cipher suites. (OkHttp used to
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
Back to top