Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for last_modified (0.3 sec)

  1. cmd/api-router.go

    		xhttp.ServerInfo,
    		xhttp.Connection,
    		xhttp.AcceptRanges,
    		xhttp.ContentRange,
    		xhttp.ContentEncoding,
    		xhttp.ContentLength,
    		xhttp.ContentType,
    		xhttp.ContentDisposition,
    		xhttp.LastModified,
    		xhttp.ContentLanguage,
    		xhttp.CacheControl,
    		xhttp.RetryAfter,
    		xhttp.AmzBucketRegion,
    		xhttp.Expires,
    		"X-Amz*",
    		"x-amz*",
    		"*",
    	}
    	opts := cors.Options{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes.go

    type PartInfo struct {
    	// Part number that identifies the part. This is a positive integer between
    	// 1 and 10,000.
    	PartNumber int
    
    	// Date and time at which the part was uploaded.
    	LastModified time.Time
    
    	// Entity tag returned when the part was initially uploaded.
    	ETag string
    
    	// Size in bytes of the part.
    	Size int64
    
    	// Real size of the object uploaded by client.
    	ActualSize int64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  3. cmd/api-response.go

    // generates CopyObjectResponse from etag and lastModified time.
    func generateCopyObjectResponse(etag string, lastModified time.Time) CopyObjectResponse {
    	return CopyObjectResponse{
    		ETag:         "\"" + etag + "\"",
    		LastModified: amztime.ISO8601Format(lastModified.UTC()),
    	}
    }
    
    // generates CopyObjectPartResponse from etag and lastModified time.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  4. cmd/object-multipart-handlers.go

    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    
    		response := generateCopyObjectPartResponse(partInfo.ETag, partInfo.LastModified)
    		encodedSuccessResponse := encodeResponse(response)
    
    		// Write success response.
    		writeSuccessResponseXML(w, encodedSuccessResponse)
    		return
    	}
    
    	actualPartSize = length
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  5. cmd/object-handlers-common.go

    	// Headers to be set of object content is not going to be written to the client.
    	writeHeaders := func() {
    		// set common headers
    		setCommonHeaders(w)
    
    		// set object-related metadata headers
    		w.Header().Set(xhttp.LastModified, objInfo.ModTime.UTC().Format(http.TimeFormat))
    
    		if objInfo.ETag != "" {
    			w.Header()[xhttp.ETag] = []string{"\"" + objInfo.ETag + "\""}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  6. cmd/sftp-server-driver.go

    			if err != nil {
    				return nil, err
    			}
    
    			for _, bucket := range buckets {
    				files = append(files, &minioFileInfo{
    					p:     bucket.Name,
    					info:  minio.ObjectInfo{Key: bucket.Name, LastModified: bucket.CreationDate},
    					isDir: true,
    				})
    			}
    
    			return listerAt(files), nil
    		}
    
    		prefix = retainSlash(prefix)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    	if err != nil {
    		return pi, toObjectErr(err, minioMetaMultipartBucket, partPath)
    	}
    
    	// Return success.
    	return PartInfo{
    		PartNumber:     partInfo.Number,
    		ETag:           partInfo.ETag,
    		LastModified:   partInfo.ModTime,
    		Size:           partInfo.Size,
    		ActualSize:     partInfo.ActualSize,
    		ChecksumCRC32:  partInfo.Checksums["CRC32"],
    		ChecksumCRC32C: partInfo.Checksums["CRC32C"],
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  8. cmd/ftp-server-driver.go

    	}
    	return os.ModePerm
    }
    
    var minFileDate = time.Date(1980, 1, 1, 0, 0, 0, 0, time.UTC) // Workaround for Filezilla
    
    func (m *minioFileInfo) ModTime() time.Time {
    	if !m.info.LastModified.IsZero() {
    		return m.info.LastModified
    	}
    	return minFileDate
    }
    
    func (m *minioFileInfo) IsDir() bool {
    	return m.isDir
    }
    
    func (m *minioFileInfo) Sys() interface{} {
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  9. internal/http/headers.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package http
    
    // Standard S3 HTTP response constants
    const (
    	LastModified       = "Last-Modified"
    	Date               = "Date"
    	ETag               = "ETag"
    	ContentType        = "Content-Type"
    	ContentMD5         = "Content-Md5"
    	ContentEncoding    = "Content-Encoding"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 10.4K bytes
    - Viewed (1)
Back to top