feature: Basic auth support with fission router (#2292)
This commit is contained in:
@@ -60,6 +60,8 @@ func MakeErrorFromHTTP(resp *http.Response) error {
|
||||
errCode = ErrorRequestTimeout
|
||||
case http.StatusTooManyRequests:
|
||||
errCode = ErrorTooManyRequests
|
||||
case http.StatusUnauthorized:
|
||||
errCode = ErrorNotAuthorized
|
||||
default:
|
||||
errCode = ErrorInternal
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user