Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setBucketForwardingMiddleware (0.23 sec)

  1. cmd/routers.go

    	// Validate all the incoming requests.
    	setRequestValidityMiddleware,
    	// Add upload forwarding middleware for site replication
    	setUploadForwardingMiddleware,
    	// Add bucket forwarding middleware
    	setBucketForwardingMiddleware,
    	// Add new middlewares here.
    }
    
    // configureServer handler returns final handler for the http server.
    func configureServerHandler(endpointServerPools EndpointServerPools) (http.Handler, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. cmd/generic-handlers.go

    			}
    			return
    		}
    		h.ServeHTTP(w, r)
    	})
    }
    
    // setBucketForwardingMiddleware middleware forwards the path style requests
    // on a bucket to the right bucket location, bucket to IP configuration
    // is obtained from centralized etcd configuration service.
    func setBucketForwardingMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top