Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for writeSuccessResponseHeadersOnly (0.17 sec)

  1. cmd/bucket-versioning-handler.go

    		Type:       madmin.SRBucketMetaTypeVersionConfig,
    		Bucket:     bucket,
    		Versioning: &cfgStr,
    		UpdatedAt:  updatedAt,
    	}))
    
    	writeSuccessResponseHeadersOnly(w)
    }
    
    // GetBucketVersioningHandler - GET Bucket Versioning.
    // ----------
    func (api objectAPIHandlers) GetBucketVersioningHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle-handlers.go

    	if _, err = globalBucketMetadataSys.Update(ctx, bucket, bucketLifecycleConfig, configData); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Success.
    	writeSuccessResponseHeadersOnly(w)
    }
    
    // GetBucketLifecycleHandler - This HTTP handler returns bucket policy configuration.
    func (api objectAPIHandlers) GetBucketLifecycleHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. cmd/bucket-notification-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	rulesMap := config.ToRulesMap()
    	globalEventNotifier.AddRulesMap(bucketName, rulesMap)
    
    	writeSuccessResponseHeadersOnly(w)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. cmd/dummy-handlers.go

    }
    
    // DeleteBucketWebsiteHandler - DELETE bucket website, a dummy api
    func (api objectAPIHandlers) DeleteBucketWebsiteHandler(w http.ResponseWriter, r *http.Request) {
    	writeSuccessResponseHeadersOnly(w)
    }
    
    // GetBucketCorsHandler - GET bucket cors, a dummy api
    func (api objectAPIHandlers) GetBucketCorsHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetBucketCors")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. cmd/bucket-encryption-handlers.go

    		Type:      madmin.SRBucketMetaTypeSSEConfig,
    		Bucket:    bucket,
    		SSEConfig: &cfgStr,
    		UpdatedAt: updatedAt,
    	}))
    
    	writeSuccessResponseHeadersOnly(w)
    }
    
    // GetBucketEncryptionHandler - Returns bucket policy configuration
    // https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top