Skip to content

Send 400 on missing boundary #1588

@Kludex

Description

@Kludex

I did some research about this PR, and to understand if the issue was reasonable.

Here's what I've found out:

On Starlette, we raise KeyError with "boundary key missing". Although this PR follows the issue that was raised, and it's actually an improvement, I think we should follow Django's lead, and also create a 400 response on this case.

Originally posted by @Kludex in #1544 (comment)

Metadata

Metadata

Assignees

Labels

clean upRefinement to existing functionalitygood first issueGood for beginnershelp wantedFeel free to help

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions