Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeResponse (0.15 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top