Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for writeSuccessResponseXML (0.26 sec)

  1. cmd/dummy-handlers.go

    		return
    	}
    
    	const accelerateDefaultConfig = `<?xml version="1.0" encoding="UTF-8"?><AccelerateConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"/>`
    	writeSuccessResponseXML(w, []byte(accelerateDefaultConfig))
    }
    
    // GetBucketRequestPaymentHandler - GET bucket requestPayment, a dummy api
    func (api objectAPIHandlers) GetBucketRequestPaymentHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. cmd/bucket-versioning-handler.go

    	}
    
    	configData, err := xml.Marshal(config)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Write bucket versioning configuration to client
    	writeSuccessResponseXML(w, configData)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. cmd/bucket-notification-handlers.go

    			return
    		}
    	}
    
    	configData, err := xml.Marshal(config)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseXML(w, configData)
    }
    
    // PutBucketNotificationHandler - This HTTP handler stores given notification configuration as per
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle-handlers.go

    		return
    	}
    
    	if withUpdatedAt {
    		w.Header().Set(xhttp.MinIOLifecycleCfgUpdatedAt, updatedAt.Format(iso8601Format))
    	}
    	// Write lifecycle configuration to client.
    	writeSuccessResponseXML(w, configData)
    }
    
    // DeleteBucketLifecycleHandler - This HTTP handler removes bucket lifecycle configuration.
    func (api objectAPIHandlers) DeleteBucketLifecycleHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. cmd/bucket-encryption-handlers.go

    	}
    
    	configData, err := xml.Marshal(config)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Write bucket encryption configuration to client
    	writeSuccessResponseXML(w, configData)
    }
    
    // DeleteBucketEncryptionHandler - Removes bucket encryption configuration
    func (api objectAPIHandlers) DeleteBucketEncryptionHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top