Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 120 for RFC (0.29 sec)

  1. 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)
  2. common-protos/k8s.io/api/discovery/v1/generated.proto

      //
      // * Un-prefixed protocol names - reserved for IANA standard service names (as per
      // RFC-6335 and https://www.iana.org/assignments/service-names).
      //
      // * Kubernetes-defined prefixed names:
      //   * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540
      //
      // * Other protocols should use implementation-defined prefixed names such as
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. 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)
  4. okhttp/src/main/kotlin/okhttp3/CookieJar.kt

     * implementations may store cookies in memory; sophisticated ones may use the file system or
     * database to hold accepted cookies. The [cookie storage model][rfc_6265_53] specifies policies for
     * updating and expiring cookies.
     *
     * [rfc_6265_53]: https://tools.ietf.org/html/rfc6265#section-5.3
     */
    interface CookieJar {
      /**
       * Saves [cookies] from an HTTP response to this store according to this jar's policy.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
       * Some of the tests have queries and anchors that are a little silly here.
       */
    
      /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */
      public void testRfc2396Normal() {
        assertEquals("/a/b/c/g", simplifyPath("/a/b/c/g"));
        assertEquals("/a/b/c/g", simplifyPath("/a/b/c/./g"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 19 14:00:24 GMT 2016
    - 11K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      /*
       * We co-opt some URI resolution tests for our purposes.
       * Some of the tests have queries and anchors that are a little silly here.
       */
    
      /** http://gbiv.com/protocols/uri/rfc/rfc2396.html#rfc.section.C.1 */
      public void testRfc2396Normal() {
        assertEquals("/a/b/c/g", simplifyPath("/a/b/c/g"));
        assertEquals("/a/b/c/g", simplifyPath("/a/b/c/./g"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 11K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InetAddresses.java

       * href="http://en.wikipedia.org/wiki/Teredo_tunneling">http://en.wikipedia.
       * org/wiki/Teredo_tunneling</a>.
       *
       * <p>The RFC can be found here: <a target="_parent" href="http://tools.ietf.org/html/rfc4380">RFC
       * 4380</a>.
       *
       * @since 5.0
       */
      public static final class TeredoInfo {
        private final Inet4Address server;
        private final Inet4Address client;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  8. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

    import static com.google.common.base.Charsets.UTF_8;
    
    import java.util.Arrays;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Crc32c}. Known test values are from RFC 3720, Section B.4.
     *
     * @author Patrick Costello
     * @author Kurt Alfred Kluever
     */
    public class Crc32cHashFunctionTest extends TestCase {
      public void testEmpty() {
        assertCrc(0, new byte[0]);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  9. docs/features/caching.md

    Caching
    =======
    
    OkHttp implements an optional, off by default, Cache. OkHttp aims for RFC correct and
    pragmatic caching behaviour, following common real-world browser like Firefox/Chrome and 
    server behaviour when ambiguous.
    
    # Basic Usage
    
    ```kotlin
      private val client: OkHttpClient = OkHttpClient.Builder()
          .cache(Cache(
              directory = File(application.cacheDir, "http_cache"),
              // $0.05 worth of phone storage in 2020
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

    /**
     * ASN.1 adapters adapted from the specifications in [RFC 5280][rfc_5280].
     *
     * [rfc_5280]: https://tools.ietf.org/html/rfc5280
     */
    @Suppress("UNCHECKED_CAST") // This needs to cast decoded collections.
    internal object CertificateAdapters {
      /**
       * ```
       * Time ::= CHOICE {
       *   utcTime        UTCTime,
       *   generalTime    GeneralizedTime
       * }
       * ```
       *
       * RFC 5280, section 4.1.2.5:
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
Back to top