Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for etag (0.02 sec)

  1. cmd/object-api-multipart_test.go

    					}
    					//  Asserting the ETag in the PartInfo.
    					if actualMetaData.ETag != expectedResult.Parts[j].ETag {
    						t.Errorf("Test %d: %s: Part %d: Expected Etag to be \"%s\", but instead found \"%s\"", i+1, instanceType, j+1, expectedResult.Parts[j].ETag, actualMetaData.ETag)
    					}
    				}
    			}
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    		// as well as common modtime, if modtime is not possible
    		// verify if it has common "etag" at least.
    		if onlineMeta[i].IsValid() && onlineMeta[i].Erasure.Equal(fi.Erasure) {
    			ok := onlineMeta[i].ModTime.Equal(modTime)
    			if modTime.IsZero() || modTime.Equal(timeSentinel) {
    				ok = etag != "" && etag == fi.Metadata["etag"]
    			}
    			if ok {
    				continue
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. cmd/object-api-datatypes_gen.go

    			z.PartNumber, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "PartNumber")
    				return
    			}
    		case "ETag":
    			z.ETag, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ETag")
    				return
    			}
    		case "ChecksumCRC32":
    			z.ChecksumCRC32, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    		MTime:        srcObjInfo.ModTime,
    		PreserveETag: srcObjInfo.ETag,
    		UserDefined:  srcObjInfo.UserDefined,
    	}
    	if r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3 {
    		opts.VersionID = ""
    	}
    	if crypto.S3.IsEncrypted(srcObjInfo.UserDefined) {
    		opts.ServerSideEncryption = encrypt.NewSSE()
    	}
    	slc := strings.Split(srcObjInfo.ETag, "-")
    	if len(slc) == 2 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  5. cmd/bucket-handlers.go

    	// clients expect the ETag header key to be literally "ETag" - not "Etag" (case-sensitive).
    	// Therefore, we have to set the ETag directly as map entry.
    	w.Header()[xhttp.ETag] = []string{`"` + etag + `"`}
    
    	// Set the relevant version ID as part of the response header.
    	if objInfo.VersionID != "" && objInfo.VersionID != nullVersionID {
    		w.Header()[xhttp.AmzVersionID] = []string{objInfo.VersionID}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  6. cmd/erasure-healing_test.go

    		if err1 != nil {
    			t.Fatalf("Failed to upload a part - %v", err1)
    		}
    		uploadedParts = append(uploadedParts, CompletePart{
    			PartNumber: pInfo.PartNumber,
    			ETag:       pInfo.ETag,
    		})
    	}
    
    	_, err = objLayer.CompleteMultipartUpload(ctx, bucket, object, res.UploadID, uploadedParts, ObjectOptions{})
    	if err != nil {
    		t.Fatalf("Failed to complete multipart upload - got: %v", err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  7. docs/bucket/notifications/README.md

                      },
                      "arn" : "arn:aws:s3:::images"
                    },
                    "object" : {
                      "key" : "myphoto.jpg",
                      "size" : 6474,
                      "eTag" : "a3410f4f8788b510d6f19c5067e60a90",
                      "sequencer" : "14B09A09703FC47B"
                    }
                  },
                  "source" : {
                    "host" : "127.0.0.1",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  8. cmd/test-utils_test.go

    			checkRespErr(rec, http.StatusOK)
    			header := rec.Header()
    			if v, ok := header["ETag"]; ok {
    				etag := v[0]
    				if etag == "" {
    					t.Fatalf("Unexpected empty etag")
    				}
    				cp = append(cp, CompletePart{PartNumber: partID, ETag: etag[1 : len(etag)-1]})
    			} else {
    				t.Fatalf("Missing etag header")
    			}
    		}
    
    		// Call CompleteMultipart API
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      fun conditionalCacheMiss() {
        enableCache()
        server.enqueue(
          MockResponse.Builder()
            .addHeader("ETag: v1")
            .body("abc")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .code(HttpURLConnection.HTTP_OK)
            .addHeader("ETag: v2")
            .body("abd")
            .build(),
        )
        var call =
          client.newCall(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  10. 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)
Back to top