Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 69 for html (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/Headers.kt

       * according to this method:
       *
       * 1. Original
       * ```
       * Content-Type: text/html
       * Content-Length: 50
       * ```
       *
       * 2. Different order
       *
       * ```
       * Content-Length: 50
       * Content-Type: text/html
       * ```
       *
       * 3. Different case
       *
       * ```
       * content-type: text/html
       * content-length: 50
       * ```
       *
       * 4. Different values
       *
       * ```
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        client =
          client.newBuilder()
            .dns(FakeDns())
            .build()
        assertFailsWith<UnknownHostException> {
          getResponse(
            Request.Builder()
              .url("http://1234.1.1.1/index.html".toHttpUrl())
              .build(),
          )
        }
      }
    
      private fun testServerClosesOutput(socketPolicy: SocketPolicy) {
        server.enqueue(
          MockResponse(
    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)
  3. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    data:text/html,test#test  s:data p:text/html,test f:#test
    
    # Based on http://trac.webkit.org/browser/trunk/LayoutTests/fast/url/file.html
    
    # Basic canonicalization, uppercase should be converted to lowercase
    file:c:\\foo\\bar.html file:///tmp/mock/path s:file p:/c:/foo/bar.html
    
    # Spaces should fail
    \s\sFile:c|////foo\\bar.html  s:file p:/c:////foo/bar.html
    
    # This should fail
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

    import okio.Buffer
    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)
  5. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

          headerEntries(
            ":method", "GET",
            ":scheme", "https",
            ":path", "/index.html",
            ":authority", "www.example.com",
            "custom-key", "custom-value",
          ),
        )
      }
    
      /**
       * http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#appendix-C.4
       */
      @Test
      fun readRequestExamplesWithHuffman() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 38.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/CookieJar.kt

     * 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)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

     * Different instructions and configuration may be required for other hardware devices.
     *
     * Using a yubikey device as a SSL key store.
     * https://lauri.võsandi.com/2017/03/yubikey-for-ssh-auth.html
     *
     * Using PKCS11 support in the JDK.
     * https://tersesystems.com/blog/2018/09/08/keymanagers-and-keystores/
     *
     * Install OpenSC separately. On a mac `brew cast install opensc`.
     */
    @SuppressSignatureCheck
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  8. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

       */
      object KeepOpen : SocketPolicy
    
      /**
       * Close the socket after the response. This is the default HTTP/1.0 behavior. For HTTP/2
       * connections, this sends a [GOAWAYframe](https://tools.ietf.org/html/rfc7540#section-6.8)
       * immediately after the response and will close the connection when the client's socket
       * is exhausted.
       *
       * See [SocketPolicy] for reasons why this can cause test flakiness and how to avoid it.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/FallbackTestClientSocketFactory.kt

        }
      }
    
      companion object {
        /**
         * The cipher suite used during TLS connection fallback to indicate a fallback. See
         * https://tools.ietf.org/html/draft-ietf-tls-downgrade-scsv-00
         */
        const val TLS_FALLBACK_SCSV = "TLS_FALLBACK_SCSV"
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt

        assertThat(cacheControl.toString()).isEqualTo(header)
      }
    
      @Test
      @Throws(Exception::class)
      fun parseIgnoreCacheControlExtensions() {
        // Example from http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.6
        val header = "private, community=\"UCI\""
        val cacheControl =
          parse(
            Headers.Builder()
              .set("Cache-Control", header)
              .build(),
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top