Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 476 for etag (0.1 sec)

  1. cmd/object-api-errors.go

    type PartTooBig struct{}
    
    func (e PartTooBig) Error() string {
    	return "Part size bigger than the allowed limit"
    }
    
    // InvalidETag error returned when the etag has changed on disk
    type InvalidETag struct{}
    
    func (e InvalidETag) Error() string {
    	return "etag of the object has changed"
    }
    
    // BackendDown is returned for network errors
    type BackendDown struct {
    	Err string
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  2. docs/ja/docs/advanced/custom-response.md

    * `headers` - 含めたい任意のカスタムヘッダーの辞書。
    * `media_type` - メディアタイプを示す文字列。セットされなかった場合は、ファイル名やパスからメディアタイプが推察されます。
    * `filename` - セットされた場合、レスポンスの `Content-Disposition` に含まれます。
    
    ファイルレスポンスには、適切な `Content-Length` 、 `Last-Modified` 、 `ETag` ヘッダーが含まれます。
    
    ```Python hl_lines="2  10"
    {!../../docs_src/custom_response/tutorial009.py!}
    ```
    
    ## デフォルトレスポンスクラス
    
    **FastAPI** クラスのインスタンスか `APIRouter` を生成するときに、デフォルトのレスポンスクラスを指定できます。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. cmd/post-policy_test.go

    	if err != nil {
    		t.Error("Unexpected error: ", err)
    	}
    
    	v := redirectURL.Query()
    	v.Add("bucket", info.Bucket)
    	v.Add("key", info.Name)
    	v.Add("etag", "\""+info.ETag+"\"")
    	redirectURL.RawQuery = v.Encode()
    	expectedLocation := redirectURL.String()
    
    	// Check the new location url
    	if rec.Header().Get("Location") != expectedLocation {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/custom-response.md

    * `path` - 要流式传输的文件的文件路径。
    * `headers` - 任何自定义响应头,传入字典类型。
    * `media_type` - 给出媒体类型的字符串。如果未设置,则文件名或路径将用于推断媒体类型。
    * `filename` - 如果给出,它将包含在响应的 `Content-Disposition` 中。
    
    文件响应将包含适当的 `Content-Length`,`Last-Modified` 和 `ETag` 的响应头。
    
    ```Python hl_lines="2  10"
    {!../../docs_src/custom_response/tutorial009.py!}
    ```
    
    ## 额外文档
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. cmd/auth-handler.go

    	"net/http"
    	"net/url"
    	"strconv"
    	"strings"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/minio/internal/auth"
    	objectlock "github.com/minio/minio/internal/bucket/object/lock"
    	"github.com/minio/minio/internal/etag"
    	"github.com/minio/minio/internal/hash"
    	xhttp "github.com/minio/minio/internal/http"
    	xjwt "github.com/minio/minio/internal/jwt"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/mcontext"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/custom-response.md

    * `headers` - 🙆 🛃 🎚 🔌, 📖.
    * `media_type` - 🎻 🤝 📻 🆎. 🚥 🔢, 📁 ⚖️ ➡ 🔜 ⚙️ 🔑 📻 🆎.
    * `filename` - 🚥 ⚒, 👉 🔜 🔌 📨 `Content-Disposition`.
    
    📁 📨 🔜 🔌 ☑ `Content-Length`, `Last-Modified` & `ETag` 🎚.
    
    ```Python hl_lines="2  10"
    {!../../docs_src/custom_response/tutorial009.py!}
    ```
    
    👆 💪 ⚙️ `response_class` 🔢:
    
    ```Python hl_lines="2  8  10"
    {!../../docs_src/custom_response/tutorial009b.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/custom-response.md

    * `filename` – Wenn gesetzt, wird das in der `Content-Disposition` der Response eingefügt.
    
    Datei-Responses enthalten die entsprechenden `Content-Length`-, `Last-Modified`- und `ETag`-Header.
    
    ```Python hl_lines="2  10"
    {!../../docs_src/custom_response/tutorial009.py!}
    ```
    
    Sie können auch den Parameter `response_class` verwenden:
    
    ```Python hl_lines="2  8  10"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. cmd/testdata/xl-many-parts.meta

    533�*X-Minio-Internal-Server-Side-Encryption-Iv�,/toqog0XGduYaYS1mFgMTuBG4PTEDd33SRHErMaobUM=�5X-Minio-Internal-Server-Side-Encryption-S3-Sealed-Key�XIAAfAMzb3XWqMl2TB0fbAIoKIaxMYQaP6RglgxX+WaI3mWUhxds7hl5W2T53NBA4fWN8fMHFnNPYivcI+zfpsA==�MetaUsr��etag�%43bc26cf9d1b65d8830884adf6f47bba-9016�content-type�video/quicktime�X-Amz-Replication-Status�FAILED�X-Amz-Meta-Mtime�1599066652�v�d���$��Oi5W�Mq�=�N;wL�{��Ұ� ��W�q����Type�V2Obj��ID�Oi5W�Mq�=�N;wL�DDir�)�"�GJ��I~ҭ-�EcAlgo�EcM...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 02 21:40:38 UTC 2023
    - 808.8K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    		}
    
    		for i := range fi.Parts {
    			ventry.ObjectV2.PartSizes[i] = fi.Parts[i].Size
    			if len(ventry.ObjectV2.PartETags) > 0 && fi.Parts[i].ETag != "" {
    				ventry.ObjectV2.PartETags[i] = fi.Parts[i].ETag
    			}
    			ventry.ObjectV2.PartNumbers[i] = fi.Parts[i].Number
    			ventry.ObjectV2.PartActualSizes[i] = fi.Parts[i].ActualSize
    			if len(ventry.ObjectV2.PartIndices) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  10. docs/en/docs/advanced/custom-response.md

    * `filename` - If set, this will be included in the response `Content-Disposition`.
    
    File responses will include appropriate `Content-Length`, `Last-Modified` and `ETag` headers.
    
    ```Python hl_lines="2  10"
    {!../../docs_src/custom_response/tutorial009.py!}
    ```
    
    You can also use the `response_class` parameter:
    
    ```Python hl_lines="2  8  10"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top