Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setHeadGetRespHeaders (0.11 sec)

  1. cmd/s3-zip-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	// s3zip does not allow ranges
    	w.Header().Del(xhttp.AcceptRanges)
    
    	setHeadGetRespHeaders(w, r.Form)
    
    	httpWriter := xioutil.WriteOnClose(w)
    
    	// Write object content to response body
    	if _, err = xioutil.Copy(httpWriter, rc); err != nil {
    		if !httpWriter.HasWritten() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	encryptBufferSize = 1 << 20
    
    	// minCompressibleSize is the minimum size at which we enable compression.
    	minCompressibleSize = 4096
    )
    
    // setHeadGetRespHeaders - set any requested parameters as response headers.
    func setHeadGetRespHeaders(w http.ResponseWriter, reqParams url.Values) {
    	for k, v := range reqParams {
    		if header, ok := supportedHeadGetReqParams[strings.ToLower(k)]; ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top