- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 578 for HEADERS (0.07 sec)
-
cmd/signature-v4-utils_test.go
} // Since the list of signed headers value contained `expect`, the default value of `100-continue` will be added to extracted signed headers. if extractedExpect != expectedExpect { t.Errorf("expect header incorrect value: expected `%s`, got `%s`", expectedExpect, extractedExpect) } // case where the headers don't contain the one of the signed header in the signed headers list.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 05 21:26:41 UTC 2024 - 14.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/FrameLogTest.kt
.isEqualTo("<< 0x00000003 0 HEADERS END_STREAM") assertThat(frameLog(true, 3, 0, TYPE_DATA, 0x1)) .isEqualTo("<< 0x00000003 0 DATA END_STREAM") } @Test fun flagOverlapOn0x4() { assertThat(frameLog(true, 3, 10000, TYPE_HEADERS, 0x4)) .isEqualTo("<< 0x00000003 10000 HEADERS END_HEADERS")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
cmd/object-handlers-common.go
if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) { return false } // Headers to be set of object content is not going to be written to the client. writeHeaders := func() { // set common headers setCommonHeaders(w) // set object-related metadata headers w.Header().Set(xhttp.LastModified, objInfo.ModTime.UTC().Format(http.TimeFormat)) if objInfo.ETag != "" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 06:33:53 UTC 2024 - 15.3K bytes - Viewed (0) -
tests/test_repeated_cookie_headers.py
client = TestClient(app) def test_cookie_is_set_once(): direct_response = client.get("/directCookie") indirect_response = client.get("/indirectCookie") assert ( direct_response.headers["set-cookie"] == indirect_response.headers["set-cookie"]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jun 13 12:44:51 UTC 2020 - 792 bytes - Viewed (0) -
tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jul 09 18:06:12 UTC 2020 - 526 bytes - Viewed (0) -
tests/test_tutorial/test_advanced_middleware/test_tutorial003.py
client = TestClient(app) def test_middleware(): response = client.get("/large", headers={"accept-encoding": "gzip"}) assert response.status_code == 200, response.text assert response.text == "x" * 4000 assert response.headers["Content-Encoding"] == "gzip" assert int(response.headers["Content-Length"]) < 4000 response = client.get("/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jul 09 18:06:12 UTC 2020 - 665 bytes - Viewed (0) -
tests/test_tutorial/test_body/test_tutorial001.py
"/items/", content='{"name": "Foo", "price": 50.5}', headers={"Content-Type": "application/json"}, ) assert response.status_code == 200, response.text def test_geo_json(client: TestClient): response = client.post( "/items/", content='{"name": "Foo", "price": 50.5}', headers={"Content-Type": "application/geo+json"}, )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 14.7K bytes - Viewed (0) -
tests/test_tutorial/test_body/test_tutorial001_py310.py
"/items/", content='{"name": "Foo", "price": 50.5}', headers={"Content-Type": "application/json"}, ) assert response.status_code == 200, response.text @needs_py310 def test_geo_json(client: TestClient): response = client.post( "/items/", content='{"name": "Foo", "price": 50.5}', headers={"Content-Type": "application/geo+json"}, )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 15K bytes - Viewed (1) -
docs_src/custom_request_and_route/tutorial003.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 1K bytes - Viewed (0) -
internal/s3select/message.go
// // Header specification: // Continuation messages contain two headers, as follows: // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-cont.png // // Payload specification: // Continuation messages have no payload. var continuationMessage = []byte{ 0, 0, 0, 57, // total byte-length. 0, 0, 0, 41, // headers byte-length. 139, 161, 157, 242, // prelude crc.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 30 15:26:43 UTC 2022 - 15.2K bytes - Viewed (0)