Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 190 for Multipart (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

          multipart.addPart(
            headersOf("Content-Type", "text/plain"),
            "Hello, World!".toRequestBody(null),
          )
        }
      }
    
      @Test
      fun contentLengthHeaderIsForbidden() {
        val multipart = MultipartBody.Builder()
        assertFailsWith<IllegalArgumentException> {
          multipart.addPart(
            headersOf("Content-Length", "13"),
            "Hello, World!".toRequestBody(null),
          )
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/request-forms.md

    /// info | Informação
    
    Para usar formulários, primeiro instale <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Certifique-se de criar um [ambiente virtual](../virtual-environments.md){.internal-link target=_blank}, ativá-lo e então instalá-lo, por exemplo:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## Importe `Form` { #import-form }
    
    Importe `Form` de `fastapi`:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. .github/workflows/multipart/migrate.sh

    if [ $failed_count_site1 -ne 0 ]; then
    	echo "failed with multipart on site1 uploads"
    	exit 1
    fi
    
    if [ $failed_count_site2 -ne 0 ]; then
    	echo "failed with multipart on site2 uploads"
    	exit 1
    fi
    
    ./mc cp -r --quiet /usr/bin site1/testbucket/
    
    sleep 5
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. internal/etag/etag.go

    	_, ok := h[xhttp.ContentMD5]
    	return ok
    }
    
    // Multipart computes an S3 multipart ETag given a list of
    // S3 singlepart ETags. It returns nil if the list of
    // ETags is empty.
    //
    // Any encrypted or multipart ETag will be ignored and not
    // used to compute the returned ETag.
    func Multipart(etags ...ETag) ETag {
    	if len(etags) == 0 {
    		return nil
    	}
    
    	var n int64
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/request-form-models.md

    /// info | Información
    
    Para usar formularios, primero instala <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Asegúrate de crear un [entorno virtual](../virtual-environments.md){.internal-link target=_blank}, activarlo, y luego instalarlo, por ejemplo:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    /// note | Nota
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. .github/workflows/mint.yml

          - name: build-minio
            run: |
              TAG="quay.io/minio/minio:${{ steps.vars.outputs.sha_short }}" make docker
    
          - name: multipart uploads test
            run: |
              ${GITHUB_WORKSPACE}/.github/workflows/multipart/migrate.sh "${{ steps.vars.outputs.sha_short }}"
    
          - name: compress and encrypt
            run: |
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. docs_src/request_files/tutorial002_an_py39.py

    
    @app.get("/")
    async def main():
        content = """
    <body>
    <form action="/files/" enctype="multipart/form-data" method="post">
    <input name="files" type="file" multiple>
    <input type="submit">
    </form>
    <form action="/uploadfiles/" enctype="multipart/form-data" method="post">
    <input name="files" type="file" multiple>
    <input type="submit">
    </form>
    </body>
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 826 bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/request-forms-and-files.md

    # 请求表单与文件
    
    FastAPI 支持同时使用 `File` 和 `Form` 定义文件和表单字段。
    
    /// info | 说明
    
    接收上传文件或表单数据,要预先安装 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>。
    
    例如,`pip install python-multipart`。
    
    ///
    
    ## 导入 `File` 与 `Form`
    
    {* ../../docs_src/request_forms_and_files/tutorial001.py hl[1] *}
    
    ## 定义 `File` 与 `Form` 参数
    
    创建文件和表单参数的方式与 `Body` 和 `Query` 一样:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. docs/tr/docs/tutorial/request-forms.md

    /// info | Bilgi
    
    Formları kullanmak için öncelikle <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a> paketini indirmeniz gerekmektedir.
    
    Örneğin `pip install python-multipart`.
    
    ///
    
    ## `Form` Sınıfını Projenize Dahil Edin
    
    `Form` sınıfını `fastapi`'den projenize dahil edin:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/request-forms-and-files.md

    To receive uploaded files and/or form data, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## Import `File` and `Form` { #import-file-and-form }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top