Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for RFC (0.15 sec)

  1. okhttp/src/test/resources/okhttp3/internal/idn/README.md

    IDN Data
    ========
    
    In order to implement Nameprep (RFC 3491), OkHttp uses Unicode tables specified in Stringprep
    (RFC 3454). Fragments of this RFC are dumped into the files in this directory and parsed by
    `StringprepTablesReader` into a model that can be used at runtime.
    
    This format is chosen to make it easy to validate that these tables are consistent with the RFC.
    
    ```
    cd okhttp/src/test/resources/okhttp3/internal/idn/
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 618 bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt

      }
    
      @Test
      @Throws(Exception::class)
      fun parseStandardFormats() {
        // RFC 822, updated by RFC 1123 with GMT.
        assertThat("Thu, 01 Jan 1970 00:00:00 GMT".toHttpDateOrNull()!!.time).isEqualTo(0L)
        assertThat("Fri, 06 Jun 2014 12:30:30 GMT".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
    
        // RFC 850, obsoleted by RFC 1036 with GMT.
        assertThat("Thursday, 01-Jan-70 00:00:00 GMT".toHttpDateOrNull()!!.time).isEqualTo(0L)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt

      } catch (e: GeneralSecurityException) {
        throw IllegalArgumentException("failed to decode certificate", e)
      }
    }
    
    /**
     * Returns the certificate encoded in [PEM format][rfc_7468].
     *
     * [rfc_7468]: https://tools.ietf.org/html/rfc7468
     */
    fun X509Certificate.certificatePem(): String {
      return buildString {
        append("-----BEGIN CERTIFICATE-----\n")
        encodeBase64Lines(encoded.toByteString())
    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 (2)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/net/MediaType.java

      public static final MediaType PLAIN_TEXT_UTF_8 = createConstantUtf8(TEXT_TYPE, "plain");
    
      /**
       * <a href="http://www.rfc-editor.org/rfc/rfc4329.txt">RFC 4329</a> declares {@link
       * #JAVASCRIPT_UTF_8 application/javascript} to be the correct media type for JavaScript, but this
       * may be necessary in certain situations for compatibility.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

    import okio.BufferedSource
    
    /**
     * An implementation of Stringprep ([RFC 3454]) intended for use with Nameprep ([RFC 3491]).
     *
     * [RFC 3454]: https://datatracker.ietf.org/doc/html/rfc3454
     * [RFC 3491]: https://datatracker.ietf.org/doc/html/rfc3491
     */
    class Stringprep(
      /** Unassigned code points. */
      val unassigned: CodePointSet,
      /** Mappings. Note table B.3 is not used in RFC 3491. */
      val mapping: CodePointMapping,
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

      /**
       * Returns the certificate encoded in [PEM format][rfc_7468].
       *
       * [rfc_7468]: https://tools.ietf.org/html/rfc7468
       */
      fun certificatePem(): String = certificate.certificatePem()
    
      /**
       * Returns the private key encoded in [PKCS #8][rfc_5208] [PEM format][rfc_7468].
       *
       * [rfc_5208]: https://tools.ietf.org/html/rfc5208
       * [rfc_7468]: https://tools.ietf.org/html/rfc7468
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

    private val BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS =
      arrayOf(
        // HTTP formats required by RFC2616 but with any timezone:
        // RFC 822, updated by RFC 1123 with any TZ.
        "EEE, dd MMM yyyy HH:mm:ss zzz",
        // RFC 850, obsoleted by RFC 1036 with any TZ.
        "EEEE, dd-MMM-yy HH:mm:ss zzz",
        // ANSI C's asctime() format
        "EEE MMM d HH:mm:ss yyyy",
        // Alternative formats:
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InternetDomainName.java

       * label. See <a href="http://www.ietf.org/rfc/rfc2181.txt">RFC 2181</a> part 11.
       */
      private static final int MAX_LENGTH = 253;
    
      /**
       * Maximum size of a single part of a domain name. See <a
       * href="http://www.ietf.org/rfc/rfc2181.txt">RFC 2181</a> part 11.
       */
      private static final int MAX_DOMAIN_PART_LENGTH = 63;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
Back to top