Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 58 for continue (0.2 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt

          if (d1 != -1 && d2 != -1) {
            writeByte((d1 shl 4) + d2)
            i += 2
            i += Character.charCount(codePoint)
            continue
          }
        } else if (codePoint == '+'.code && plusIsSpace) {
          writeByte(' '.code)
          i++
          continue
        }
        writeUtf8CodePoint(codePoint)
        i += Character.charCount(codePoint)
      }
    }
    
    internal fun String.canonicalize(
    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)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

          MockResponse.Builder()
            .add100Continue()
            .build(),
        )
        val request =
          Request.Builder()
            .url(server.url("/"))
            .header("Expect", "100-continue")
            .post("abc".toRequestBody("text/plain".toMediaType()))
            .build()
        executeSynchronously(request)
          .assertCode(200)
          .assertSuccessful()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

        val proxyAuthorization = response.code == 407
        val proxy = route?.proxy ?: Proxy.NO_PROXY
    
        for (challenge in challenges) {
          if (!"Basic".equals(challenge.scheme, ignoreCase = true)) {
            continue
          }
    
          val dns = route?.address?.dns ?: defaultDns
          val auth =
            if (proxyAuthorization) {
              val proxyAddress = proxy.address() as InetSocketAddress
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

          val maxStaleSecondsLong = timeUnit.toSeconds(maxStale.toLong())
          this.maxStaleSeconds = maxStaleSecondsLong.commonClampToInt()
        }
    
        /**
         * Sets the minimum number of seconds that a response will continue to be fresh for. If the
         * response will be stale when [minFresh] have elapsed, the cached response will not be used and
         * a network request will be made.
         *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

            streamId = 0,
            length = settings.size() * 6,
            type = TYPE_SETTINGS,
            flags = FLAG_NONE,
          )
          for (i in 0 until Settings.COUNT) {
            if (!settings.isSet(i)) continue
            val id =
              when (i) {
                4 -> 3 // SETTINGS_MAX_CONCURRENT_STREAMS renumbered.
                7 -> 4 // SETTINGS_INITIAL_WINDOW_SIZE renumbered.
                else -> i
              }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

       *
       *  * A `SYN_RESET` frame abnormally terminates the stream.
       *  * Both input and output streams have transmitted all data and headers.
       *
       * Note that the input stream may continue to yield data even after a stream reports itself as
       * not open. This is because input data is buffered.
       */
      val isOpen: Boolean
        get() {
          this.withLock {
            if (errorCode != null) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  7. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        val url = server.url("/").toUrl()
        val connection = url.openConnection() as HttpURLConnection
        connection.setDoOutput(true)
        connection.setRequestProperty("Expect", "100-Continue")
        connection.outputStream.write("request".toByteArray(StandardCharsets.UTF_8))
        val inputStream = connection.inputStream
        val reader = BufferedReader(InputStreamReader(inputStream, StandardCharsets.UTF_8))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun getUtf8Body ()Ljava/lang/String;
    	public fun toString ()Ljava/lang/String;
    }
    
    public final class okhttp3/mockwebserver/SocketPolicy : java/lang/Enum {
    	public static final field CONTINUE_ALWAYS Lokhttp3/mockwebserver/SocketPolicy;
    	public static final field DISCONNECT_AFTER_REQUEST Lokhttp3/mockwebserver/SocketPolicy;
    	public static final field DISCONNECT_AT_END Lokhttp3/mockwebserver/SocketPolicy;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

          "Parameter is not formatted correctly: \"${substring(s)}\" for: \"$this\""
        }
    
        val name = parameter.groups[1]?.value
        if (name == null) {
          s = parameter.range.last + 1
          continue
        }
    
        val token = parameter.groups[2]?.value
        val value =
          when {
            token == null -> {
              // Value is "double-quoted". That's valid and our regex group already strips the quotes.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_2x.md

        for OkHttp 2.0 and 2.1 will continue to work with this update.
    
     *  **`COMPATIBLE_TLS` no longer supports SSLv3.** In response to the
        [POODLE](https://googleonlinesecurity.blogspot.ca/2014/10/this-poodle-bites-exploiting-ssl-30.html)
        vulnerability, OkHttp no longer offers SSLv3 when negotiation an
        HTTPS connection. If you continue to need to connect to webservers
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
Back to top