Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for left (0.18 sec)

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

        // zero-width joiner
        assertThat(parse("http://h/\u200d").encodedPath).isEqualTo("/%E2%80%8D")
        // left-to-right mark
        assertThat(parse("http://h/\u200e").encodedPath).isEqualTo("/%E2%80%8E")
        // right-to-left mark
        assertThat(parse("http://h/\u200f").encodedPath).isEqualTo("/%E2%80%8F")
        // line separator
    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-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

              // Request body headers are only present when installed as a network interceptor. When not
              // already present, force them to be included (if available) so their values are known.
              requestBody.contentType()?.let {
                if (headers["Content-Type"] == null) {
                  logger.log("Content-Type: $it")
                }
              }
              if (requestBody.contentLength() != -1L) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  3. okhttp/src/test/java/okhttp3/internal/idn/StringprepTest.kt

      }
    
      @Test fun prohibitionChangeDisplayPropertiesOrDeprecated() {
        assertThat(stringPrep("\u0340")).isNull() // COMBINING GRAVE TONE MARK
        assertThat(stringPrep("\u200e")).isNull() // LEFT-TO-RIGHT MARK
        assertThat(stringPrep("\u206e")).isNull() // NATIONAL DIGIT SHAPES
        assertThat(stringPrep("\u206f")).isNull() // NOMINAL DIGIT SHAPES
      }
    
      @Test fun prohibitionTaggingCharacters() {
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        } else {
          wildcardRuleLabels
        }
      }
    
      /**
       * Reads the public suffix list treating the operation as uninterruptible. We always want to read
       * the list otherwise we'll be left in a bad state. If the thread was interrupted prior to this
       * operation, it will be re-interrupted after the list is read.
       */
      private fun readTheListUninterruptibly() {
        var interrupted = false
        try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

          } else {
            fileSystem.atomicMove(journalFileBackup, journalFile)
          }
        }
    
        civilizedFileSystem = fileSystem.isCivilized(journalFileBackup)
    
        // Prefer to pick up where we left off.
        if (fileSystem.exists(journalFile)) {
          try {
            readJournal()
            processJournal()
            initialized = true
            return
          } catch (journalIsCorrupt: IOException) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  6. native-image-tests/src/main/kotlin/okhttp3/DotListener.kt

        System.setErr(object : PrintStream(OutputStream.nullOutputStream()) {})
      }
    
      fun uninstall() {
        originalSystemOut.let {
          System.setOut(it)
        }
        originalSystemErr.let {
          System.setErr(it)
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt

    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.decodeCertificatePem
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    
    /**
     * Test for new Let's Encrypt Root Certificate.
     */
    @Tag("Remote")
    class LetsEncryptClientTest {
      @Test fun get() {
        // These tests wont actually run before Android 8.0 as per
        // https://github.com/mannodermaus/android-junit5
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.4K bytes
    - Viewed (1)
  8. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          return hostname == pattern
        }
    
        // Wildcard pattern
    
        // WILDCARD PATTERN RULES:
        // 1. Asterisk (*) is only permitted in the left-most domain name label and must be the
        //    only character in that label (i.e., must match the whole left-most label).
        //    For example, *.example.com is permitted, while *a.example.com, a*.example.com,
        //    a*b.example.com, a.*.example.com are not permitted.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

      }
    
      @Throws(IOException::class)
      private fun readHeaderBlock(
        length: Int,
        padding: Int,
        flags: Int,
        streamId: Int,
      ): List<Header> {
        continuation.left = length
        continuation.length = continuation.left
        continuation.padding = padding
        continuation.flags = flags
        continuation.streamId = streamId
    
        // TODO: Concat multi-value headers with 0x0, except COOKIE, which uses 0x3B, 0x20.
    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)
  10. okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.C.8.txt

       0340; COMBINING GRAVE TONE MARK
       0341; COMBINING ACUTE TONE MARK
       200E; LEFT-TO-RIGHT MARK
       200F; RIGHT-TO-LEFT MARK
       202A; LEFT-TO-RIGHT EMBEDDING
       202B; RIGHT-TO-LEFT EMBEDDING
       202C; POP DIRECTIONAL FORMATTING
       202D; LEFT-TO-RIGHT OVERRIDE
       202E; RIGHT-TO-LEFT OVERRIDE
       206A; INHIBIT SYMMETRIC SWAPPING
       206B; ACTIVATE SYMMETRIC SWAPPING
       206C; INHIBIT ARABIC FORM SHAPING
       206D; ACTIVATE ARABIC FORM SHAPING
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 501 bytes
    - Viewed (0)
Back to top