Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for StatusUnauthorized (0.11 sec)

  1. cmd/object-lambda-handlers.go

    	"Permanent Redirect":              http.StatusPermanentRedirect,
    	"Bad Request":                     http.StatusBadRequest,
    	"Unauthorized":                    http.StatusUnauthorized,
    	"Payment Required":                http.StatusPaymentRequired,
    	"Forbidden":                       http.StatusForbidden,
    	"Not Found":                       http.StatusNotFound,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. cmd/storage-rest-server.go

    	case errFileNotFound, errFileVersionNotFound:
    		w.WriteHeader(http.StatusNotFound)
    	case errInvalidAccessKeyID, errAccessKeyDisabled, errNoAuthToken, errMalformedAuth, errAuthentication, errSkewedAuthTime:
    		w.WriteHeader(http.StatusUnauthorized)
    	case context.Canceled, context.DeadlineExceeded:
    		w.WriteHeader(499)
    	default:
    		w.WriteHeader(http.StatusForbidden)
    	}
    	w.Write([]byte(err.Error()))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
Back to top