Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for RFC (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

    /**
     * An [RFC 3492] punycode decoder for converting ASCII to Unicode domain name labels. This is
     * intended for use in Internationalized Domain Names (IDNs).
     *
     * This class contains a Kotlin implementation of the pseudocode specified by RFC 3492. It includes
     * direct translation of the pseudocode presented there.
     *
     * Partner this class with [UTS #46] to implement IDNA2008 [RFC 5890] like most browsers do.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_4x.md

     [okio_3_6_0]: https://square.github.io/okio/changelog/#version-360
     [public_suffix]: https://publicsuffix.org/
     [rfc_2045]: https://tools.ietf.org/html/rfc2045
     [rfc_7231_647]: https://tools.ietf.org/html/rfc7231#section-6.4.7
     [rfc_7692]: https://tools.ietf.org/html/rfc7692
     [semver]: https://semver.org/
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Protocol.kt

       */
      HTTP_1_0("http/1.0"),
    
      /**
       * A plaintext framing that includes persistent connections.
       *
       * This version of OkHttp implements [RFC 7230][rfc_7230], and tracks revisions to that spec.
       *
       * [rfc_7230]: https://tools.ietf.org/html/rfc7230
       */
      HTTP_1_1("http/1.1"),
    
      /**
       * Chromium's binary-framed protocol that includes header compression, multiplexing multiple
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:33 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/HttpStatusCodes.kt

    /** `100 Continue` (HTTP/1.1 - RFC 7231)  */
    const val HTTP_CONTINUE = 100
    
    /** `102 Processing` (WebDAV - RFC 2518)  */
    const val HTTP_PROCESSING = 102
    
    /** `103 Early Hints (Early Hints - RFC 8297)` */
    const val HTTP_EARLY_HINTS = 103
    
    /** `307 Temporary Redirect` (HTTP/1.1 - RFC 7231)  */
    const val HTTP_TEMP_REDIRECT = 307
    
    /** `308 Permanent Redirect` (HTTP/1.1 - RFC 7538)  */
    const val HTTP_PERM_REDIRECT = 308
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

    import javax.net.ssl.SSLSession
    import okhttp3.internal.canParseAsIpAddress
    import okhttp3.internal.toCanonicalHost
    import okio.utf8Size
    
    /**
     * A HostnameVerifier consistent with [RFC 2818][rfc_2818].
     *
     * [rfc_2818]: http://www.ietf.org/rfc/rfc2818.txt
     */
    @Suppress("NAME_SHADOWING")
    object OkHostnameVerifier : HostnameVerifier {
      private const val ALT_DNS_NAME = 2
      private const val ALT_IPA_NAME = 7
    
    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)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

          .body(RealResponseBody(contentType, contentLength, cacheWritingSource.buffer()))
          .build()
      }
    
      companion object {
        /** Combines cached headers with a network headers as defined by RFC 7234, 4.3.4. */
        private fun combine(
          cachedHeaders: Headers,
          networkHeaders: Headers,
        ): Headers {
          val result = Headers.Builder()
    
          for (index in 0 until cachedHeaders.size) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Cache.kt

     *
     * The best way to improve the cache hit rate is by configuring the web server to return cacheable
     * responses. Although this client honors all [HTTP/1.1 (RFC 7234)][rfc_7234] cache headers, it
     * doesn't cache partial responses.
     *
     * ## Force a Network Response
     *
     * In some situations, such as after a user clicks a 'refresh' button, it may be necessary to skip
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/SocksProxy.kt

    import okio.buffer
    import okio.sink
    import okio.source
    import okio.use
    
    /**
     * A limited implementation of SOCKS Protocol Version 5, intended to be similar to MockWebServer.
     * See [RFC 1928](https://www.ietf.org/rfc/rfc1928.txt).
     */
    class SocksProxy {
      private val executor = Executors.newCachedThreadPool(threadFactory("SocksProxy"))
      private var serverSocket: ServerSocket? = null
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

            val delta = expires.time - servedMillis
            return if (delta > 0L) delta else 0L
          }
    
          if (lastModified != null && cacheResponse.request.url.query == null) {
            // As recommended by the HTTP RFC and implemented in Firefox, the max age of a document
            // should be defaulted to 10% of the document's age at the time it was served. Default
            // expiration dates aren't used for URIs containing a query.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * concurrently, returning once any connection connects successfully.
         *
         * This implements Happy Eyeballs ([RFC 6555][rfc_6555]), balancing connect latency vs.
         * wasted resources.
         *
         * Defaults to enabled, call with [fastFallback] = false to revert to 4.x behaviour.
         *
         * [rfc_6555]: https://datatracker.ietf.org/doc/html/rfc6555
         */
        fun fastFallback(fastFallback: Boolean) =
          apply {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
Back to top