Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PSEUDO (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Header.kt

      override fun toString(): String = "${name.utf8()}: ${value.utf8()}"
    
      companion object {
        // Special header names defined in HTTP/2 spec.
        @JvmField val PSEUDO_PREFIX: ByteString = ":".encodeUtf8()
    
        const val RESPONSE_STATUS_UTF8 = ":status"
        const val TARGET_METHOD_UTF8 = ":method"
        const val TARGET_PATH_UTF8 = ":path"
        const val TARGET_SCHEME_UTF8 = ":scheme"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

        } catch (e: ConnectException) {
          throw ConnectException("Failed to connect to ${route.socketAddress}").apply {
            initCause(e)
          }
        }
    
        // The following try/catch block is a pseudo hacky way to get around a crash on Android 7.0
        // More details:
        // https://github.com/square/okhttp/issues/3245
        // https://android-review.googlesource.com/#/c/271775/
        try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

                  writeByteString(value)
                  insertIntoDynamicTable(header)
                }
                name.startsWith(Header.PSEUDO_PREFIX) && TARGET_AUTHORITY != name -> {
                  // Follow Chromes lead - only include the :authority pseudo header, but exclude all other
                  // pseudo headers. Literal Header Field without Indexing - Indexed Name.
                  writeInt(headerNameIndex, PREFIX_4_BITS, 0)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (1)
Back to top