mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-05 23:45:07 +00:00
feat(remote)!: make remote serve WebSocket-only and refuse older clients with CLIENT_OUTDATED
This commit is contained in:
@@ -32,6 +32,7 @@ def test_api_error_default_http_status_per_code() -> None:
|
||||
APIErrorCode.INVALID_PARAMETERS: 400,
|
||||
APIErrorCode.AUTH_FAILED: 401,
|
||||
APIErrorCode.FORBIDDEN: 403,
|
||||
APIErrorCode.CLIENT_OUTDATED: 426,
|
||||
APIErrorCode.GEOFENCE: 403,
|
||||
APIErrorCode.SERVER_CDM_CAPPED: 403,
|
||||
APIErrorCode.NOT_FOUND: 404,
|
||||
|
||||
Reference in New Issue
Block a user