Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeResponse (0.06 sec)

  1. cmd/bucket-handlers.go

    	case "201":
    		resp := encodeResponse(PostResponse{
    			Bucket:   objInfo.Bucket,
    			Key:      objInfo.Name,
    			ETag:     `"` + objInfo.ETag + `"`,
    			Location: w.Header().Get(xhttp.Location),
    		})
    		writeResponse(w, http.StatusCreated, resp, mimeXML)
    	case "200":
    		writeSuccessResponseHeadersOnly(w)
    	default:
    		writeSuccessNoContent(w)
    	}
    }
    
    // GetBucketPolicyStatusHandler -  Retrieves the policy status
    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