Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for deletes (0.15 sec)

  1. deploy_website.sh

    #!/bin/bash
    
    # The website is built using MkDocs with the Material theme.
    # https://squidfunk.github.io/mkdocs-material/
    # It requires python3 to run.
    
    set -ex
    
    REPO="******@****.***:square/okhttp.git"
    DIR=temp-clone
    
    # Delete any existing temporary website clone
    rm -rf $DIR
    
    # Clone the current repo into temp folder
    git clone $REPO $DIR
    # Replace `git clone` with these lines to hack on the website locally
    # cp -a . "../okhttp-website"
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Nov 20 15:26:12 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  2. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

    import okhttp3.internal.delimiterOffset
    import okhttp3.internal.platform.Platform
    import okhttp3.internal.platform.Platform.Companion.WARN
    import okhttp3.internal.trimSubstring
    
    /** A cookie jar that delegates to a [java.net.CookieHandler]. */
    class JavaNetCookieJar(private val cookieHandler: CookieHandler) : CookieJar {
      override fun saveFromResponse(
        url: HttpUrl,
        cookies: List<Cookie>,
      ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:10:43 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        val response =
          getResponse(
            Request.Builder()
              .url(server.url("/"))
              .delete("BODY".toRequestBody(null))
              .build(),
          )
        assertThat(response.code).isEqualTo(200)
        val request = server.takeRequest()
        assertThat(request.method).isEqualTo("DELETE")
        assertThat(request.body.readUtf8()).isEqualTo("BODY")
      }
    
      @Test
    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)
  4. docs/changelogs/changelog_4x.md

     *  Fix: Reliably update and invalidate the disk cache on windows. As originally designed our
        internal `DiskLruCache` assumes an inode-like file system, where it's fine to delete files that
        are currently being read or written. On Windows the file system forbids this so we must be more
        careful when deleting and renaming files.
    
    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)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        }
        return false
      }
    
      /**
       * Closes the cache and deletes all of its stored values. This will delete all files in the cache
       * directory including files that weren't created by the cache.
       */
      @Throws(IOException::class)
      fun delete() {
        close()
        fileSystem.deleteContents(directory)
      }
    
      /**
       * Deletes all stored values from the cache. In-flight edits will complete normally but their
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  6. okhttp/build.gradle.kts

           the task as up-to-date, because these two files, which are based on
           the generated index.xml, are outputs, not inputs. We can be sure of
           this because they are deleted in the @BeforeEach method of the
           OsgiTest test class.
    
           - To enable the benefit of incremental builds, we can ask Gradle
           to ignore these two files when considering whether the classpath
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt

     */
    package okhttp3
    
    import java.io.IOException
    import java.net.InetAddress
    import java.net.ServerSocket
    import javax.net.ServerSocketFactory
    
    /**
     * A [ServerSocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureServerSocket].
     */
    open class DelegatingServerSocketFactory(private val delegate: ServerSocketFactory) : ServerSocketFactory() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (2)
  8. okhttp/src/test/java/okhttp3/internal/idn/StringprepTest.kt

        assertThat(stringPrep("\u2003")).isNull() // EM SPACE
      }
    
      @Test fun prohibitionControlCharacters() {
        assertThat(stringPrep("\u007f")).isEqualTo("\u007f") // ASCII delete not prohibited.
        assertThat(stringPrep("\u0080")).isNull()
        assertThat(stringPrep("\u2029")).isNull()
        assertThat(stringPrep("\ud834\udd7a")).isNull() // Note that this is one code point.
      }
    
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

          encodings[ 0x1d] = encoding // Group Separator
          encodings[ 0x1e] = encoding // Record Separator
          encodings[ 0x1f] = encoding // Unit Separator
          encodings[ 0x7f] = encoding // Delete
        }
    
      fun nonAscii(encoding: Encoding) =
        apply {
          encodings[UNICODE_2] = encoding
          encodings[UNICODE_3] = encoding
          encodings[UNICODE_4] = encoding
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  10. okhttp/api/okhttp.api

    	public final fun cacheUrlOverride (Lokhttp3/HttpUrl;)Lokhttp3/Request$Builder;
    	public final fun delete ()Lokhttp3/Request$Builder;
    	public fun delete (Lokhttp3/RequestBody;)Lokhttp3/Request$Builder;
    	public static synthetic fun delete$default (Lokhttp3/Request$Builder;Lokhttp3/RequestBody;ILjava/lang/Object;)Lokhttp3/Request$Builder;
    	public fun get ()Lokhttp3/Request$Builder;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
Back to top