Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for multipartReader (0.14 sec)

  1. cmd/bucket-handlers.go

    		RespElements: extractRespElements(w),
    		UserAgent:    r.UserAgent(),
    		Host:         handlers.GetSourceIP(r),
    	})
    }
    
    // multipartReader is just like https://pkg.go.dev/net/http#Request.MultipartReader but
    // rejects multipart/mixed as its not supported in S3 API.
    func multipartReader(r *http.Request) (*multipart.Reader, error) {
    	v := r.Header.Get("Content-Type")
    	if v == "" {
    		return nil, http.ErrNotMultipart
    	}
    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