Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for TODO (0.13 sec)

  1. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

          }
    
        Platform.get().log("results $results", Platform.WARN)
    
        assertTrue(results.session_ticket_supported)
        assertEquals("Probably Okay", results.rating)
        // TODO map to expected versions automatically, test ignored for now.  Run manually.
        assertEquals("TLS 1.3", results.tls_version)
        assertEquals(0, results.insecure_cipher_suites.size)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

       * SET types.
       *
       * The fields are specified as a list of member adapters. When decoding, a value for each
       * non-optional member but be included in sequence.
       *
       * TODO: for sets, sort by tag when encoding.
       * TODO: for set ofs, sort by encoded value when encoding.
       */
      fun <T> sequence(
        name: String,
        vararg members: DerAdapter<*>,
        decompose: (T) -> List<*>,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. okhttp-hpacktests/README.md

    implementation.  The HPACK test cases are in a separate git submodule, so to
    initialize them, you must run:
    
        git submodule init
        git submodule update
    
    TODO
    ----
    
     * Add maven goal to avoid manual call to git submodule init.
     * Make hpack-test-case update itself from git, and run new tests.
     * Add maven goal to generate stories and a pull request to hpack-test-case
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Dec 15 16:59:53 GMT 2014
    - 578 bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

      operator fun get(id: Int): Int = values[id]
    
      /** Returns the number of settings that have values assigned. */
      fun size(): Int = Integer.bitCount(set)
    
      // TODO: honor this setting.
      fun getEnablePush(defaultValue: Boolean): Boolean {
        val bit = 1 shl ENABLE_PUSH
        return if (bit and set != 0) values[ENABLE_PUSH] == 1 else defaultValue
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

          if (ia.hasNext()) {
            add(ia.next())
          }
          if (ib.hasNext()) {
            add(ib.next())
          }
        }
      }
    }
    
    // TODO check read only options for creating lists
    public fun <T> List<T>.readOnly() = this.toList()
    
    // TODO check read only options for creating lists
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  6. native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.File
    import org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor
    import org.junit.platform.engine.discovery.DiscoverySelectors
    
    // TODO move to junit5 tags
    val avoidedTests =
      setOf(
        "okhttp3.BouncyCastleTest",
        "okhttp3.ConscryptTest",
        "okhttp3.CorrettoTest",
        "okhttp3.OpenJSSETest",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

              retryOnConnectionFailure = true
            }
            .build()
    
        executeSynchronously(request)
          .assertBody("body")
    
        assertThat(client.routeDatabase.failedRoutes).isEmpty()
        // TODO check if we expect a second request to server1, before attempting server2
        assertThat(server1.requestCount).isEqualTo(2)
        assertThat(server2.requestCount).isEqualTo(1)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Header.kt

      /** Name in case-insensitive ASCII encoding. */
      @JvmField val name: ByteString,
      /** Value in UTF-8 encoding. */
      @JvmField val value: ByteString,
    ) {
      @JvmField val hpackSize = 32 + name.size + value.size
    
      // TODO: search for toLowerCase and consider moving logic here.
      constructor(name: String, value: String) : this(name.encodeUtf8(), value.encodeUtf8())
    
      constructor(name: ByteString, value: String) : this(name, value.encodeUtf8())
    
    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)
  9. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

          dns.lookup("google.com")
          fail<Any>()
        } catch (ioe: IOException) {
          assertThat(ioe).hasMessage("google.com")
          assertThat(ioe.cause!!).isInstanceOf<EOFException>()
        }
      }
    
      // TODO GET preferred order - with tests to confirm this
      // 1. successful fresh cached GET response
      // 2. unsuccessful (404, 500) fresh cached GET response
      // 3. successful network response
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 11K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

          when (val mappedCodePoint = mapping[codePoint]) {
            null -> mapResult.writeUtf8CodePoint(codePoint)
            else -> mapResult.writeUtf8(mappedCodePoint)
          }
        }
    
        // 2. Normalize
        // TODO.
    
        // 3 and 4. Check prohibited characters and bidi.
        val validateBuffer = mapResult.copy()
        var firstIsRandalcat = false
        while (!validateBuffer.exhausted()) {
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top