Skip to content

Update the upload file type validation logic#1091

Merged
wu-clan merged 2 commits intofastapi-practices:masterfrom
SmallGarbage:patch-1
Feb 28, 2026
Merged

Update the upload file type validation logic#1091
wu-clan merged 2 commits intofastapi-practices:masterfrom
SmallGarbage:patch-1

Conversation

@SmallGarbage
Copy link
Contributor

Refactor file type checks to allow valid formats and raise errors for unsupported types.

Refactor file type checks to allow valid formats and raise errors for unsupported types.
@wu-clan wu-clan changed the title Refactor file type validation logic Update the upload file type validation logic Feb 28, 2026
@wu-clan wu-clan merged commit e8ac9e8 into fastapi-practices:master Feb 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants