- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 1,224 for header2 (0.06 sec)
-
cmd/routers.go
var globalMiddlewares = []mux.MiddlewareFunc{ // set x-amz-request-id header and others addCustomHeadersMiddleware, // The generic tracer needs to be the first middleware to catch all requests // returned early by any other middleware (but after the middleware that // sets the amz request id). httpTracerMiddleware, // Auth middleware verifies incoming authorization headers and routes them
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/en/docs/tutorial/middleware.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
tests/test_security_api_key_header.py
@app.get("/users/me") def read_current_user(current_user: User = Depends(get_current_user)): return current_user client = TestClient(app) def test_security_api_key(): response = client.get("/users/me", headers={"key": "secret"}) assert response.status_code == 200, response.text assert response.json() == {"username": "secret"} def test_security_api_key_no_key(): response = client.get("/users/me")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1.8K bytes - Viewed (0) -
internal/crypto/sse-s3.go
func (sses3) String() string { return "SSE-S3" } func (sses3) IsRequested(h http.Header) bool { _, ok := h[xhttp.AmzServerSideEncryption] // Return only true if the SSE header is specified and does not contain the SSE-KMS value return ok && !strings.EqualFold(h.Get(xhttp.AmzServerSideEncryption), xhttp.AmzEncryptionKMS) } // ParseHTTP parses the SSE-S3 related HTTP headers and checks // whether they contain valid values.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 7.6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerHeader.kt
/** Identifies which member in the ASN.1 schema the field holds. */ var tag: Long, /** * If the constructed bit is set it indicates that the value is composed of other values that have * their own headers. * * This value is encoded in bit 6 of the first byte of each value. * * ``` * 0bxx0xxxxx Primitive * 0bxx1xxxxx Constructed * ``` */ var constructed: Boolean,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/ExchangeCodec.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http import java.io.IOException import okhttp3.Headers import okhttp3.Request import okhttp3.Response import okhttp3.Route import okhttp3.internal.connection.RealCall import okio.Sink import okio.Source /** Encodes HTTP requests and decodes HTTP responses. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt
Request.Builder() .url(server.url("/")) .header("Connection", "close") .build() val requestB = Request(server.url("/")) assertConnectionNotReused(requestA, requestB) } @Test fun connectionsAreNotReusedWithResponseConnectionClose() { server.enqueue( MockResponse( headers = headersOf("Connection", "close"), body = "a", ), )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
docs/de/docs/how-to/custom-request-and-route.md
/// Zuerst erstellen wir eine `GzipRequest`-Klasse, welche die Methode `Request.body()` überschreibt, um den Body bei Vorhandensein eines entsprechenden Headers zu dekomprimieren. Wenn der Header kein `gzip` enthält, wird nicht versucht, den Body zu dekomprimieren. Auf diese Weise kann dieselbe Routenklasse gzip-komprimierte oder unkomprimierte Requests verarbeiten. ```Python hl_lines="8-15"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.2K bytes - Viewed (0) -
internal/crypto/sse-kms.go
// IsRequested returns true if the HTTP headers contains // at least one SSE-KMS header. func (ssekms) IsRequested(h http.Header) bool { if _, ok := h[xhttp.AmzServerSideEncryptionKmsID]; ok { return true } if _, ok := h[xhttp.AmzServerSideEncryptionKmsContext]; ok { return true } if _, ok := h[xhttp.AmzServerSideEncryption]; ok { // Return only true if the SSE header is specified and does not contain the SSE-S3 value
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 8.5K bytes - Viewed (0) -
docs/bucket/retention/README.md
``` ### Set object lock PutObject API allows setting per object retention mode and retention duration using `x-amz-object-lock-mode` and `x-amz-object-lock-retain-until-date` headers. This takes precedence over any bucket object lock configuration w.r.t retention. ```sh
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 29 04:28:45 UTC 2022 - 3.9K bytes - Viewed (0)