Does the routing layer for multipart have a way to deny requests that don’t match a certain file type? For instance, the route will only accept images and throw a BAD REQUEST when any other file is uploaded.
bohregard
12/16/2021, 3:21 PM
Or does this need to be handled manually in the
receiveMultipart
function
bohregard
12/16/2021, 3:26 PM
Nvm, I found it on the content type for each part.