Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for extractMetadataFromMime (0.1 sec)

  1. cmd/handler-utils.go

    	metadata = make(map[string]string)
    
    	for _, hdr := range mimesHeader {
    		// Extract all query values.
    		err = extractMetadataFromMime(ctx, hdr, metadata)
    		if err != nil {
    			return nil, err
    		}
    	}
    
    	// Set content-type to default value if it is not set.
    	if _, ok := metadata[strings.ToLower(xhttp.ContentType)]; !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. cmd/bucket-handlers.go

    			hashReader.SetExpectedMax(lengthRange.Max)
    		}
    	}
    
    	// Extract metadata to be saved from received Form.
    	metadata := make(map[string]string)
    	err = extractMetadataFromMime(ctx, textproto.MIMEHeader(formValues), metadata)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	rawReader := hashReader
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top