Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 958 for onload (0.11 sec)

  1. cmd/url_test.go

    package cmd
    
    import (
    	"net/http"
    	"testing"
    )
    
    func BenchmarkURLQueryForm(b *testing.B) {
    	req, err := http.NewRequest(http.MethodGet, "http://localhost:9000/bucket/name?uploadId=upload&partNumber=1", http.NoBody)
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	// benchmark utility which helps obtain number of allocations and bytes allocated per ops.
    	b.ReportAllocs()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_files/test_tutorial001_02_an_py39.py

    
    @needs_py39
    def test_post_uploadfile_no_body(client: TestClient):
        response = client.post("/uploadfile/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "No upload file sent"}
    
    
    @needs_py39
    def test_post_file(tmp_path: Path, client: TestClient):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        with path.open("rb") as file:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. docs/de/docs/deployment/manually.md

    Running on 0.0.0.0:8080 over http (CTRL + C to quit)
    ```
    
    </div>
    
    ////
    
    /// warning | "Achtung"
    
    Denken Sie daran, die Option `--reload` zu entfernen, wenn Sie diese verwendet haben.
    
    Die Option `--reload` verbraucht viel mehr Ressourcen, ist instabiler, usw.
    
    Sie hilft sehr wรคhrend der **Entwicklung**, aber Sie sollten sie **nicht** in der **Produktion** verwenden.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/first-steps.md

    # ๐Ÿฅ‡ ๐Ÿ”
    
    ๐Ÿ™… FastAPI ๐Ÿ“ ๐Ÿ’ช ๐Ÿ‘€ ๐Ÿ’– ๐Ÿ‘‰:
    
    ```Python
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    ๐Ÿ“ ๐Ÿ‘ˆ ๐Ÿ“ `main.py`.
    
    ๐Ÿƒ ๐Ÿ–– ๐Ÿ’ฝ:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_files/test_tutorial001_02_an.py

    
    def test_post_uploadfile_no_body():
        response = client.post("/uploadfile/")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "No upload file sent"}
    
    
    def test_post_file(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
    
        client = TestClient(app)
        with path.open("rb") as file:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/first-steps.md

    ๊ฐ€์žฅ ๋‹จ์ˆœํ•œ FastAPI ํŒŒ์ผ์€ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ๋ณด์ผ ๊ฒƒ์ž…๋‹ˆ๋‹ค:
    
    ```Python
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    ์œ„ ์ฝ”๋“œ๋ฅผ `main.py`์— ๋ณต์‚ฌํ•ฉ๋‹ˆ๋‹ค.
    
    ๋ผ์ด๋ธŒ ์„œ๋ฒ„๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. docs/site-replication/run-ssec-object-replication-with-compression.sh

    TEST_MINIO_ENC_KEY="MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDA"
    
    # Create certificates for TLS enabled MinIO
    echo -n "Setup certs for MinIO instances ..."
    wget -O certgen https://github.com/minio/certgen/releases/latest/download/certgen-linux-amd64 && chmod +x certgen
    ./certgen --host localhost
    mkdir -p /tmp/certs
    mv public.crt /tmp/certs || sudo mv public.crt /tmp/certs
    mv private.key /tmp/certs || sudo mv private.key /tmp/certs
    echo "done"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/first-steps.md

    # ็ฌฌไธ€ๆญฅ
    
    ๆœ€็ฎ€ๅ•็š„ FastAPI ๆ–‡ไปถๅฏ่ƒฝๅƒไธ‹้ข่ฟ™ๆ ท๏ผš
    
    ```Python
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    ๅฐ†ๅ…ถๅคๅˆถๅˆฐ `main.py` ๆ–‡ไปถไธญใ€‚
    
    ่ฟ่กŒๅฎžๆ—ถๆœๅŠกๅ™จ๏ผš
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. docs/em/docs/deployment/manually.md

    <div class="termy">
    
    ```console
    $ hypercorn main:app --bind 0.0.0.0:80
    
    Running on 0.0.0.0:8080 over http (CTRL + C to quit)
    ```
    
    </div>
    
    ////
    
    /// warning
    
    ๐Ÿ’ญ โŽ `--reload` ๐ŸŽ› ๐Ÿšฅ ๐Ÿ‘† โš™๏ธ โšซ๏ธ.
    
     `--reload` ๐ŸŽ› ๐Ÿด ๐ŸŒ… ๐ŸŒ… โ„น, ๐ŸŒ… โš , โ™’๏ธ.
    
    โšซ๏ธ โ„น ๐Ÿ“š โฎ๏ธ **๐Ÿ› ๏ธ**, โœ‹๏ธ ๐Ÿ‘† **๐Ÿšซ๐Ÿ”œ ๐Ÿšซ** โš™๏ธ โšซ๏ธ **๐Ÿญ**.
    
    ///
    
    ## Hypercorn โฎ๏ธ ๐ŸŽป
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. cmd/globals.go

    	// If all pools reach this, we will use all pools with regular placement.
    	diskReserveFraction = 0.15
    
    	// diskAssumeUnknownSize is the size to assume when an unknown size upload is requested.
    	diskAssumeUnknownSize = 1 << 30
    
    	// diskMinInodes is the minimum number of inodes we want free on a disk to perform writes.
    	diskMinInodes = 1000
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top