- Sort Score
- Result 10 results
- Languages All
Results 71 - 73 of 73 for uploadFile (0.06 sec)
-
tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py
path2 = tmp_path / "test2.txt" path2.write_bytes(b"<file content2>") client = TestClient(app) with path.open("rb") as file, path2.open("rb") as file2: response = client.post( "/uploadfiles/", files=( ("files", ("test.txt", file)), ("files", ("test2.txt", file2)), ), ) assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 8.9K bytes - Viewed (0) -
docs/sts/client-grants.py
'hosts', ExtraArgs={'ServerSideEncryption': 'AES256'}) # Upload with server side encryption, using temporary credentials s3.meta.client.upload_file('/etc/hosts', 'testbucket', 'hosts', ExtraArgs={'ServerSideEncryption': 'AES256'}) # Download encrypted object using temporary credentials
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 1.2K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial002_py39.py
path2 = tmp_path / "test2.txt" path2.write_bytes(b"<file content2>") client = TestClient(app) with path.open("rb") as file, path2.open("rb") as file2: response = client.post( "/uploadfiles/", files=( ("files", ("test.txt", file)), ("files", ("test2.txt", file2)), ), ) assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 9K bytes - Viewed (0)