This action will deserialize multipart HTTP POST, PUT, OPTIONS and DELETE requests. It is a simple extension of Catalyst::Action::Deserialize with the exception that rather than using the entire request body (which may contain multiple sections), it will look for a single part in the request body named according to the DeserializePart attribute on that action (defaulting to REST). If a part is found under that name, it then proceeds to deserialize the request as normal based on the content-type of that individual part. If no such part is found, the request would be processed as if no data was sent.

This module's code will only come into play if the following conditions are met:

The Content-type of the request is multipart/*

The request body (as returned by $c-request->body> is not defined

There is a part of the request body (as returned by $c-request->upload($DeserializePart)>) available