Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for image (0.12 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

        // Accessing an URL protocol that was not enabled. The URL protocol mailto is not tested and
        // might not work as expected. It can be enabled by adding the --enable-url-protocols=mailto
        // option to the native-image command.
        platform.assumeNotGraalVMImage()
        val javaNetUrl = URL("mailto:******@****.***")
        assertThat(javaNetUrl.toHttpUrlOrNull()).isNull()
      }
    
      @Test
      fun fromUri() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/MultipartBodyTest.kt

          |
          |... contents of file1.txt ...
          |--BbC04y
          |Content-Disposition: file; filename="file2.gif"
          |Content-Transfer-Encoding: binary
          |Content-Type: image/gif
          |
          |... contents of file2.gif ...
          |--BbC04y--
          |
          |--AaB03x--
          |
          """.trimMargin().replace("\n", "\r\n")
        val body =
          MultipartBody.Builder("AaB03x")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        buffer.writeUtf8CodePoint(0x0a)
        buffer.writeUtf8CodePoint(0x1a)
        buffer.writeUtf8CodePoint(0x0a)
        server.enqueue(
          MockResponse.Builder()
            .body(buffer)
            .setHeader("Content-Type", "image/png; charset=utf-8")
            .build(),
        )
        val response = client.newCall(request().build()).execute()
        response.body.close()
        applicationLogs
          .assertLogEqual("--> GET $url")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

         * 3
         * Content-Type: image/png
         * Content-Length: 100
         * Cache-Control: max-age=600
         * ```
         *
         * A typical HTTPS file looks like this:
         *
         * ```
         * https://google.com/foo
         * GET
         * 2
         * Accept-Language: fr-CA
         * Accept-Charset: UTF-8
         * HTTP/1.1 200 OK
         * 3
         * Content-Type: image/png
         * Content-Length: 100
    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)
  5. docs/recipes.md

          fun run() {
            // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
            val requestBody = MultipartBody.Builder()
                .setType(MultipartBody.FORM)
                .addFormDataPart("title", "Square Logo")
                .addFormDataPart("image", "logo-square.png",
                    File("docs/images/logo-square.png").asRequestBody(MEDIA_TYPE_PNG))
                .build()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  6. CHANGELOG.md

        attempt multiple TLS handshakes for the same call concurrently.
     *  Fix: Don't crash loading the public suffix database in GraalVM native images. The function
        `HttpUrl.topPrivateDomain()` uses a resource file to identify private domains, but we didn't
        include this file on GraalVM.
    
    
    ## Version 5.0.0-alpha.4
    
    _2022-02-01_
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Cookie.kt

       * Otherwise, they are cross-site URLs.
       *
       * When a URL is requested, it may be in the context of another URL.
       *
       *  * **Embedded resources like images and iframes** in browsers use the context as the page in
       *    the address bar and the subject is the URL of an embedded resource.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  8. .github/workflows/build.yml

          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v3
    
          - name: Build ConsoleLauncher
            run: ./gradlew -PgraalBuild=true native-image-tests:nativeImage
    
          - name: Run Checks
            run: ./native-image-tests/build/graal/ConsoleLauncher
    
      testandroid:
        runs-on: ubuntu-latest
        timeout-minutes: 30
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 01:51:50 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  9. docs/changelogs/upgrading_to_okhttp_4.md

    Unfortunately it crashes on OkHttp 4.x’s bytecode. Until [Google’s bug][advanced_profiling_bug] is
    fixed you must disable advanced profiling in Android Studio.
    
    ![Disable Advanced Profiling](../assets/images/******@****.***)
    
    
    R8 / ProGuard
    -------------
    
    R8 and ProGuard are both code optimizers for `.class` files.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
Back to top