mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-29 11:12:29 +00:00
The require_jwt dependency used Python 3.10+ union syntax (HTTPAuthorizationCredentials | None) with Annotated, which causes FastAPI 0.92/Pydantic 1.10 to incorrectly require a request body on GET endpoints. Changed to Optional[HTTPAuthorizationCredentials] = Depends(_bearer) which is compatible with older FastAPI/Pydantic versions. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| apparmor | ||
| audit | ||
| nginx | ||
| secubox_core | ||