- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for setRequestValidityMiddleware (0.65 seconds)
-
cmd/routers.go
setCrossDomainPolicyMiddleware, // Limits all body and header sizes to a maximum fixed limit setRequestLimitMiddleware, // Validate all the incoming requests. setRequestValidityMiddleware, // Add upload forwarding middleware for site replication setUploadForwardingMiddleware, // Add bucket forwarding middleware setBucketForwardingMiddleware, // Add new middlewares here. }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jul 29 18:10:04 GMT 2024 - 3.9K bytes - Click Count (0) -
cmd/generic-handlers_test.go
} for i, test := range sseTLSHandlerTests { globalIsTLS = test.IsTLS w := httptest.NewRecorder() r := new(http.Request) r.Header = test.Header r.URL = test.URL h := setRequestValidityMiddleware(okHandler) h.ServeHTTP(w, r) switch { case test.ShouldFail && w.Code == http.StatusOK: t.Errorf("Test %d: should fail but status code is HTTP %d", i, w.Code)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.2K bytes - Click Count (0)