So, I'm building out a PHP-based CMS application that is grounded in RESTful principles (though it certainly veers from them), and I've run into a bit of a dilemma:
What is the proper HTTP status to return when POSTing a form that uploads multiple files and some uploads succeed while others fail due to filename conflict? "409 Conflict" seems to make sense for each individual failed upload, but for the overall POST, which comprises an array of successful and failed uploads, it doesn't seem so clear cut.
My confusion is predicated on my perception that a multifile upload constitutes a single POST request, not one POST request for each file being uploaded. Is that correct?