Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 654 for Dadd (0.15 sec)

  1. okhttp/src/test/java/okhttp3/internal/io/FaultyFileSystem.kt

      fun setFaultyWrite(
        file: Path,
        faulty: Boolean,
      ) {
        if (faulty) {
          writeFaults.add(file)
        } else {
          writeFaults.remove(file)
        }
      }
    
      fun setFaultyDelete(
        file: Path,
        faulty: Boolean,
      ) {
        if (faulty) {
          deleteFaults.add(file)
        } else {
          deleteFaults.remove(file)
        }
      }
    
      fun setFaultyRename(
        file: Path,
    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 (0)
  2. okhttp-hpacktests/README.md

    initialize them, you must run:
    
        git submodule init
        git submodule update
    
    TODO
    ----
    
     * Add maven goal to avoid manual call to git submodule init.
     * Make hpack-test-case update itself from git, and run new tests.
     * Add maven goal to generate stories and a pull request to hpack-test-case
       to have others validate our output.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Dec 15 16:59:53 GMT 2014
    - 578 bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

      }
    
      @Test
      fun chainMaxLength() {
        val heldCertificates = chainOfLength(10)
        val certificates: MutableList<Certificate> = ArrayList()
        for (heldCertificate in heldCertificates) {
          certificates.add(heldCertificate.certificate)
        }
        val root = heldCertificates[heldCertificates.size - 1].certificate
        val cleaner = get(root)
        assertThat(cleaner.clean(certificates, "hostname")).isEqualTo(certificates)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. docs/orchestration/docker-compose/README.md

    * There are 4 minio distributed instances created by default. You can add more MinIO services (up to total 16) to your MinIO Compose deployment. To add a service
      * Replicate a service definition and change the name of the new service appropriately.
      * Update the command section in each service.
      * Add a new MinIO server instance to the upstream directive in the Nginx configuration file.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 31 19:20:56 GMT 2023
    - 3K bytes
    - Viewed (0)
  5. docs/features/calls.md

    OkHttp may add headers that are absent from the original request, including `Content-Length`, `Transfer-Encoding`, `User-Agent`, `Host`, `Connection`, and `Content-Type`. It will add an `Accept-Encoding` header for transparent response compression unless the header is already present. If you’ve got cookies, OkHttp will add a `Cookie` header with them.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

          commonAddLenient(headers.name(i), headers.value(i))
        }
      }
    
    internal fun Headers.Builder.commonAddLenient(
      name: String,
      value: String,
    ) = apply {
      namesAndValues.add(name)
      namesAndValues.add(value.trim())
    }
    
    internal fun Headers.Builder.commonRemoveAll(name: String) =
      apply {
        var i = 0
        while (i < namesAndValues.size) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

    ): List<T> {
      val ia = a.iterator()
      val ib = b.iterator()
    
      return buildList {
        while (ia.hasNext() || ib.hasNext()) {
          if (ia.hasNext()) {
            add(ia.next())
          }
          if (ib.hasNext()) {
            add(ib.next())
          }
        }
      }
    }
    
    // TODO check read only options for creating lists
    public fun <T> List<T>.readOnly() = this.toList()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/RequestTest.kt

      fun requestToStringRedactsSensitiveHeaders() {
        val headers =
          Headers.Builder()
            .add("content-length", "99")
            .add("authorization", "peanutbutter")
            .add("proxy-authorization", "chocolate")
            .add("cookie", "drink=coffee")
            .add("set-cookie", "accessory=sugar")
            .add("user-agent", "OkHttp")
            .build()
        val request =
          Request(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/response-headers.md

    You can also declare the `Response` parameter in dependencies, and set headers (and cookies) in them.
    
    ## Return a `Response` directly
    
    You can also add headers when you return a `Response` directly.
    
    Create a response as described in [Return a Response Directly](response-directly.md){.internal-link target=_blank} and pass the headers as an additional parameter:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. .github/workflows/mint/nginx-1-node.conf

            proxy_request_buffering off;
    
            location / {
                proxy_set_header Host $http_host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
    
                proxy_connect_timeout 300;
                # Default is HTTP/1, keepalive is only enabled in HTTP/1.1
                proxy_http_version 1.1;
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 31 21:38:10 GMT 2023
    - 2.8K bytes
    - Viewed (0)
Back to top