Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for skipped (0.21 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

          return
        }
    
        when (message.type) {
          JsseDebugMessage.Type.Setup, JsseDebugMessage.Type.Encrypted, JsseDebugMessage.Type.Plaintext -> {
            println(message.message + " (skipped output)")
          }
          else -> println(message)
        }
      }
    
      fun enableJsseDebugLogging(debugHandler: (JsseDebugMessage) -> Unit = this::quietDebug): Closeable {
        System.setProperty("javax.net.debug", "")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

            println("Deployed ${file.name}")
          }
        } catch (e: IllegalArgumentException) {
          if ("Jar does not have a symbolic name" in e.message!!) {
            println("Skipped non-OSGi dependency: ${file.name}")
            return
          }
          throw e
        }
      }
    
      companion object {
        val fileSystem = FileSystem.SYSTEM
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

                )
              } else if (gzippedLength != null) {
                logger.log("--> END ${request.method} (${buffer.size}-byte, $gzippedLength-gzipped-byte body)")
              } else {
                logger.log(buffer.readString(charset))
                logger.log("--> END ${request.method} (${requestBody.contentLength()}-byte body)")
              }
            }
          }
    
    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)
  4. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

        assertThat(url.toString()).isEqualTo("http://host/#\u0080")
        assertThat(url.fragment).isEqualTo("\u0080")
        assertThat(url.encodedFragment).isEqualTo("\u0080")
        // Control characters may be stripped!
        assertThat(url.toUri()).isEqualTo(URI("http://host/#"))
      }
    
      @Test
      fun toUriWithControlCharacters() {
        // Percent-encoded in the path.
        assertThat("http://host/a\u0000b".toHttpUrl().toUri())
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          getResponse(newRequest("/")).use { response ->
            readAscii(response.body.byteStream(), Int.MAX_VALUE)
          }
        }
      }
    
      /**
       * This test checks whether connections are gzipped by default. This behavior in not required by
       * the API, so a failure of this test does not imply a bug in the implementation.
       */
      @Test
      fun gzipEncodingEnabledByDefault() {
        server.enqueue(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt

      }
    }
    
    /**
     * Returns a substring of `input` on the range `[pos..limit)` with the following
     * transformations:
     *
     *  * Tabs, newlines, form feeds and carriage returns are skipped.
     *
     *  * In queries, ' ' is encoded to '+' and '+' is encoded to "%2B".
     *
     *  * Characters in `encodeSet` are percent-encoded.
     *
     *  * Control characters and non-ASCII characters are percent-encoded.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

        private const val ENCODING = "encoding"
        private const val UPGRADE = "upgrade"
    
        /** See http://tools.ietf.org/html/draft-ietf-httpbis-http2-09#section-8.1.3. */
        private val HTTP_2_SKIPPED_REQUEST_HEADERS =
          immutableListOf(
            CONNECTION,
            HOST,
            KEEP_ALIVE,
            PROXY_CONNECTION,
            TE,
            TRANSFER_ENCODING,
            ENCODING,
            UPGRADE,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  8. docs/security/tls_configuration_history.md

    Cipher suites that are [discouraged for use][http2_denylist] with HTTP/2. OkHttp includes them because better suites are not commonly available. For example, none of the better cipher suites listed above shipped with Android 4.4 or Java 7.
    
    [OkHttp30]: https://square.github.io/okhttp/changelog_3x/#version-300
    [OkHttp310]: https://square.github.io/okhttp/changelog_3x/#version-310
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CacheTest.kt

          response: MockResponse.Builder,
          content: String,
          chunkSize: Int,
        ) {
          setBody(response, Buffer().writeUtf8(content), chunkSize)
        }
      }
    
      /** Returns a gzipped copy of `bytes`.  */
      fun gzip(data: String): Buffer {
        val result = Buffer()
        val sink = GzipSink(result).buffer()
        sink.writeUtf8(data)
        sink.close()
        return result
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        Arrays.fill(expectedData, 2.toByte())
        val zipped = gzip(expectedData)
        val zippedSize = zipped.size.toInt()
        writeMedium(frame, zippedSize)
        frame.writeByte(Http2.TYPE_DATA)
        frame.writeByte(FLAG_COMPRESSED)
        frame.writeInt(expectedStreamId and 0x7fffffff)
        zipped.readAll(frame)
        assertFailsWith<IOException> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 28.1K bytes
    - Viewed (0)
Back to top