- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 740 for haddrs (0.08 sec)
-
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) -
mockwebserver/src/main/kotlin/mockwebserver3/PushPromise.kt
* limitations under the License. */ package mockwebserver3 import okhttp3.ExperimentalOkHttpApi import okhttp3.Headers /** An HTTP request initiated by the server. */ @ExperimentalOkHttpApi class PushPromise( val method: String, val path: String, val headers: Headers, val response: MockResponse,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 874 bytes - Viewed (0) -
internal/handlers/proxy_test.go
import ( "net/http" "testing" ) type headerTest struct { key string // header key val string // header val expected string // expected result } func TestGetScheme(t *testing.T) { headers := []headerTest{ {xForwardedProto, "https", "https"}, {xForwardedProto, "http", "http"}, {xForwardedProto, "HTTP", "http"}, {xForwardedScheme, "https", "https"}, {xForwardedScheme, "http", "http"},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 22 00:56:55 UTC 2023 - 3.2K bytes - Viewed (0) -
docs/pt/docs/tutorial/handling-errors.md
/// ## Adicione headers customizados Há certas situações em que é bastante útil poder adicionar headers customizados no HTTP error. Exemplo disso seria adicionar headers customizados para tipos de segurança. Você provavelmente não precisará utilizar esses headers diretamente no seu código. Mas caso você precise, para um cenário mais complexo, você pode adicionar headers customizados: ```Python hl_lines="14"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10K bytes - Viewed (0) -
cmd/encryption-v1.go
if crypto.SSEC.IsRequested(headers) || crypto.SSECopy.IsRequested(headers) { return encrypted, errEncryptedObject } } if crypto.S3KMS.IsEncrypted(info.UserDefined) && r.Header.Get(xhttp.AmzCopySource) == "" { if crypto.SSEC.IsRequested(headers) || crypto.SSECopy.IsRequested(headers) { return encrypted, errEncryptedObject } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Oct 13 13:06:08 UTC 2024 - 37.2K bytes - Viewed (0) -
src/archive/zip/writer.go
w.compressors = make(map[uint16]Compressor) } w.compressors[method] = comp } // AddFS adds the files from fs.FS to the archive. // It walks the directory tree starting at the root of the filesystem // adding each file to the zip using deflate while maintaining the directory structure. func (w *Writer) AddFS(fsys fs.FS) error { return fs.WalkDir(fsys, ".", func(name string, d fs.DirEntry, err error) error {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 19.4K bytes - Viewed (0) -
cmd/handler-utils.go
"X-Minio-Replication-Encrypted-Multipart", "X-Minio-Replication-Actual-Object-Size", ReplicationSsecChecksumHeader, // Add more supported headers here. } // mapping of internal headers to allowed replication headers var validSSEReplicationHeaders = map[string]string{ "X-Minio-Internal-Server-Side-Encryption-Sealed-Key": "X-Minio-Replication-Server-Side-Encryption-Sealed-Key",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 15.5K bytes - Viewed (0)