Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 170 for Multipart (0.16 seconds)

  1. cmd/erasure-multipart-conditional_test.go

    		for i := range erasureDisks[:8] {
    			erasureDisks[i] = nil
    		}
    		return erasureDisks
    	}
    	z.serverPools[0].erasureDisksMu.Unlock()
    
    	t.Run("complete multipart with if-none-match and read quorum failure", func(t *testing.T) {
    		// Try to complete the multipart upload with if-none-match
    		// This should fail because we can't verify the condition due to read quorum failure
    		opts := ObjectOptions{
    			UserDefined: map[string]string{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  2. cmd/object-multipart-handlers.go

    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    		}
    		// Set this for multipart only operations, we need to differentiate during
    		// decryption if the file was actually multipart or not.
    		encMetadata[ReservedMetadataPrefix+"Encrypted-Multipart"] = ""
    	}
    
    	// Extract metadata that needs to be saved.
    	metadata, err := extractMetadataFromReq(ctx, r)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 07 16:13:09 GMT 2025
    - 39.5K bytes
    - Click Count (1)
  3. cmd/erasure-multipart.go

    	return result, nil
    }
    
    // newMultipartUpload - wrapper for initializing a new multipart
    // request; returns a unique upload id.
    //
    // Internally this function creates 'uploads.json' associated for the
    // incoming object at
    // '.minio.sys/multipart/bucket/object/uploads.json' on all the
    // disks. `uploads.json` carries metadata regarding on-going multipart
    // operation(s) on the object.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 47.1K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

      }
    
      @Test fun `parse from response body`() {
        val multipart =
          """
          |--simple boundary
          |
          |abcd
          |--simple boundary--
          """.trimMargin()
            .replace("\n", "\r\n")
    
        val responseBody =
          multipart.toResponseBody(
            "application/multipart; boundary=\"simple boundary\"".toMediaType(),
          )
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 02:11:14 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/request-forms.md

    # 表單資料 { #form-data }
    
    當你需要接收表單欄位而不是 JSON 時,可以使用 `Form`。
    
    /// info
    
    要使用表單,請先安裝 [`python-multipart`](https://github.com/Kludex/python-multipart)。
    
    請先建立並啟用一個[虛擬環境](../virtual-environments.md),然後再安裝,例如:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## 匯入 `Form` { #import-form }
    
    從 `fastapi` 匯入 `Form`:
    
    {* ../../docs_src/request_forms/tutorial001_an_py310.py hl[3] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  6. 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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/request-forms.md

    When you need to receive form fields instead of JSON, you can use `Form`.
    
    /// info
    
    To use forms, first install [`python-multipart`](https://github.com/Kludex/python-multipart).
    
    Make sure you create a [virtual environment](../virtual-environments.md), activate it, and then install it, for example:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## Import `Form` { #import-form }
    
    Import `Form` from `fastapi`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/request-forms-and-files.md

    /// info
    
    To receive uploaded files and/or form data, first install [`python-multipart`](https://github.com/Kludex/python-multipart).
    
    Make sure you create a [virtual environment](../virtual-environments.md), activate it, and then install it, for example:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## Import `File` and `Form` { #import-file-and-form }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/request-forms-and-files.md

    # 请求表单与文件 { #request-forms-and-files }
    
    FastAPI 支持同时使用 `File` 和 `Form` 定义文件和表单字段。
    
    /// info | 信息
    
    接收上传的文件和/或表单数据,首先安装 [`python-multipart`](https://github.com/Kludex/python-multipart)。
    
    请先创建并激活一个[虚拟环境](../virtual-environments.md),然后再安装,例如:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## 导入 `File` 与 `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/request-forms-and-files.md

    # 請求中的表單與檔案 { #request-forms-and-files }
    
    你可以使用 `File` 與 `Form` 同時定義檔案與表單欄位。
    
    /// info
    
    要接收上傳的檔案與/或表單資料,請先安裝 [`python-multipart`](https://github.com/Kludex/python-multipart)。
    
    請先建立並啟用一個 [虛擬環境](../virtual-environments.md),然後再安裝,例如:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## 匯入 `File` 與 `Form` { #import-file-and-form }
    
    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 1.4K bytes
    - Click Count (0)
Back to Top