- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 961 for headerKV (0.2 sec)
-
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
val derReader = DerReader(buffer) derReader.read("test") { header -> assertThat(header.tag).isEqualTo(7L) assertThat(header.tagClass).isEqualTo(DerHeader.TAG_CLASS_APPLICATION) assertThat(header.length).isEqualTo(7L) derReader.read("test") { header2 -> assertThat(header2.tag).isEqualTo(3L) assertThat(header2.tagClass).isEqualTo(DerHeader.TAG_CLASS_APPLICATION)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 31.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
peer.acceptFrame() // ACK peer.acceptFrame() // SYN_STREAM peer.sendFrame().headers(false, 3, headerEntries("a", "android")) val expectedRequestHeaders = listOf( Header(Header.TARGET_METHOD, "GET"), Header(Header.TARGET_SCHEME, "https"), Header(Header.TARGET_AUTHORITY, "squareup.com"), Header(Header.TARGET_PATH, "/cached"), )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 75.4K bytes - Viewed (0) -
cmd/signature-v4.go
) // getCanonicalHeaders generate a list of request headers with their values func getCanonicalHeaders(signedHeaders http.Header) string { var headers []string vals := make(http.Header) for k, vv := range signedHeaders { k = strings.ToLower(k) headers = append(headers, k) vals[k] = vv } sort.Strings(headers) var buf bytes.Buffer for _, k := range headers { buf.WriteString(k) buf.WriteByte(':')
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 12.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersRequestTest.kt
val headers = response.headers assertThat(headers.size).isEqualTo(1) assertThat(headers.name(0)).isEqualTo(":version") assertThat(headers.value(0)).isEqualTo("HTTP/1.1") } @Test fun http2HeadersListDropsForbiddenHeadersHttp2() { val request = Request.Builder() .url("http://square.com/") .header("Connection", "upgrade")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.5K bytes - Viewed (0) -
src/archive/tar/format.go
*b = block{} } type headerV7 [blockSize]byte func (h *headerV7) name() []byte { return h[000:][:100] } func (h *headerV7) mode() []byte { return h[100:][:8] } func (h *headerV7) uid() []byte { return h[108:][:8] } func (h *headerV7) gid() []byte { return h[116:][:8] } func (h *headerV7) size() []byte { return h[124:][:12] } func (h *headerV7) modTime() []byte { return h[136:][:12] }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 11.3K bytes - Viewed (0) -
tests/test_tutorial/test_header_params/test_tutorial002_an_py39.py
), ( "/items", {"strange-header": "Not really underscore"}, 200, {"strange_header": None}, ), ], ) def test(path, headers, expected_status, expected_response, client: TestClient): response = client.get(path, headers=headers) assert response.status_code == expected_status assert response.json() == expected_response
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4.2K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main_an.py
response = client.get("/items?token=jessica", headers={"X-Token": "invalid"}) assert response.status_code == 400 assert response.json() == {"detail": "X-Token header invalid"} def test_items_bar_with_invalid_token(client: TestClient): response = client.get("/items/bar?token=jessica", headers={"X-Token": "invalid"}) assert response.status_code == 400
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 24.6K bytes - Viewed (0) -
docs/site-replication/run-replication-with-checksum-header.sh
exit_1 fi echo "Set default encryption on " # test if checksum header is replicated for encrypted objects # Enable SSE KMS for test-bucket bucket ./mc encrypt set sse-kms minio-default-key minio1/test-bucket --insecure # Load objects to source site with checksum header echo "Loading objects to source MinIO instance" OBJ_CHKSUM=$(openssl dgst -sha256 -binary </tmp/data/obj | base64)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 08:02:16 UTC 2024 - 11.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt
Header("content-disposition", ""), Header("content-encoding", ""), Header("content-language", ""), Header("content-length", ""), Header("content-location", ""), Header("content-range", ""), Header("content-type", ""), Header("cookie", ""), Header("date", ""), Header("etag", ""), Header("expect", ""), Header("expires", ""),
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 22.5K bytes - Viewed (0) -
cmd/object-api-options.go
clientKey, err = crypto.SSEC.ParseHTTP(header) if err != nil { return } if sse, err = encrypt.NewSSEC(clientKey[:]); err != nil { return } opts.ServerSideEncryption = sse return } if crypto.S3.IsRequested(header) || (metadata != nil && crypto.S3.IsEncrypted(metadata)) { opts.ServerSideEncryption = encrypt.NewSSE() } return } // get ObjectOptions for GET calls from encryption headers
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 21 21:13:59 UTC 2024 - 14.4K bytes - Viewed (0)