mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
router: PathPrefix router was wrong. (#3172)
This commit is contained in:
@@ -187,8 +187,7 @@ func parseAmzDateHeader(req *http.Request) (time.Time, APIErrorCode) {
|
||||
return time.Time{}, ErrMissingDateHeader
|
||||
}
|
||||
|
||||
type timeValidityHandler struct {
|
||||
}
|
||||
type timeValidityHandler struct{}
|
||||
|
||||
func (h timeValidityHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
// Verify if date headers are set, if not reject the request
|
||||
|
||||
Reference in New Issue
Block a user