Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,148 for headers (0.04 sec)

  1. cmd/object-handlers.go

    				w.Header().Set(xhttp.AmzServerSideEncryptionKmsContext, kmsCtx)
    			}
    		case crypto.SSEC:
    			w.Header().Set(xhttp.AmzServerSideEncryptionCustomerAlgorithm, r.Header.Get(xhttp.AmzServerSideEncryptionCustomerAlgorithm))
    			w.Header().Set(xhttp.AmzServerSideEncryptionCustomerKeyMD5, r.Header.Get(xhttp.AmzServerSideEncryptionCustomerKeyMD5))
    		}
    		objInfo.ETag = getDecryptedETag(r.Header, objInfo, false)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

      val method: String? by option("-X", "--request").help("Specify request command to use")
    
      val data: String? by option("-d", "--data").help("HTTP POST data")
    
      val headers: List<String>? by option("-H", "--header").help("Custom header to pass to server").multiple()
    
      val userAgent: String by option(
        "-A",
        "--user-agent",
      ).help(
        "User-Agent to send to server",
      ).default(NAME + "/" + versionString())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        userResponse: Response,
        defaultDelay: Int,
      ): Int {
        val header = userResponse.header("Retry-After") ?: return defaultDelay
    
        // https://tools.ietf.org/html/rfc7231#section-7.1.3
        // currently ignores a HTTP-date, and assumes any non int 0 is a delay
        if (header.matches("\\d+".toRegex())) {
          return Integer.valueOf(header)
        }
        return Integer.MAX_VALUE
      }
    
      companion object {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. README.md

    // Index suggestions from existing Elasticsearch documents
    DocumentReader reader = new ESSourceReader(
        client,
        suggester.settings(),
        "content-index",        // source index
        "document"             // document type
    );
    
    suggester.indexer()
        .indexFromDocument(reader, 2, 100)  // threads=2, batch=100
        .getResponse();
    ```
    
    ### Index from Query Logs
    
    ```java
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  5. cmd/api-router.go

    }
    
    // Set of s3 handler options as bit flags.
    type s3HFlag uint8
    
    const (
    	// when provided, disables Gzip compression.
    	noGZS3HFlag = 1 << iota
    
    	// when provided, enables only tracing of headers. Otherwise, both headers
    	// and body are traced.
    	traceHdrsS3HFlag
    
    	// when provided, disables throttling via the `maxClients` middleware.
    	noThrottleS3HFlag
    )
    
    func (h s3HFlag) has(flag s3HFlag) bool {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

        val body =
          MultipartBody
            .Builder()
            .addPart(headersOf("Foo", "Bar"), "Baz".toRequestBody(null))
            .build()
        assertThat(body.parts.size).isEqualTo(1)
        val part1Buffer = Buffer()
        val part1 = body.part(0)
        part1.body.writeTo(part1Buffer)
        assertThat(part1.headers).isEqualTo(headersOf("Foo", "Bar"))
        assertThat(part1Buffer.readUtf8()).isEqualTo("Baz")
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. cmd/api-response.go

    		w.Header().Get(xhttp.AmzRequestID), w.Header().Get(xhttp.AmzRequestHostID))
    	encodedErrorResponse := encodeResponse(errorResponse)
    	writeResponse(w, err.HTTPStatusCode, encodedErrorResponse, mimeXML)
    }
    
    func writeErrorResponseHeadersOnly(w http.ResponseWriter, err APIError) {
    	w.Header().Set(xMinIOErrCodeHeader, err.Code)
    	w.Header().Set(xMinIOErrDescHeader, "\""+err.Description+"\"")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  8. CHANGELOG.md

    
    ## Version 5.0.0-alpha.3
    
    _2021-11-22_
    
     *  Fix: Change `Headers.toString()` to redact authorization and cookie headers.
     *  Fix: Don't do DNS to get the hostname for `RecordedRequest.requestUrl`. This was doing a DNS
        lookup for the local hostname, but we really just wanted the `Host` header.
     *  Fix: Don't crash with a `InaccessibleObjectException` when detecting the platform trust manager
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  9. docs/es/docs/tutorial/testing.md

    * Para pasar un cuerpo JSON, pasa un objeto de Python (por ejemplo, un `dict`) al parámetro `json`.
    * Si necesitas enviar *Form Data* en lugar de JSON, usa el parámetro `data` en su lugar.
    * Para pasar *headers*, usa un `dict` en el parámetro `headers`.
    * Para *cookies*, un `dict` en el parámetro `cookies`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/query-param-models.md

    ```
    
    ## Resumen
    
    Puedes usar **modelos de Pydantic** para declarar **parámetros query** en **FastAPI**. 😎
    
    /// tip | Consejo
    
    Alerta de spoiler: también puedes usar modelos de Pydantic para declarar cookies y headers, pero leerás sobre eso más adelante en el tutorial. 🤫
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top