Parse a request with multipart data.

    :param request: A HttpRequest instance.

def parse_multipart_data(request):
    """
    Parse a request with multipart data.

    :param request: A HttpRequest instance.
    """
    return MultiPartParser(
        META=request.META,
        input_data=StringIO(request.body),
        upload_handlers=request.upload_handlers,
        encoding=request.encoding
    ).parse()