Accept raw image data as Content-type: image/*
MA-1416 Created a TypedFileUploadParser that validates the mimetype and then takes the content and puts it on request.FILES['file']. Subclasses the existing FileUploadParser. Use namedtuple in IMAGE_TYPES as per style guide: https://github.com/edx/edx-platform/wiki/Python-Guidelines#classes-vs-dictionaries
Showing
openedx/core/lib/api/tests/test_parsers.py
0 → 100644
Please
register
or
sign in
to comment