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
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| api | Loading commit data... | |
| django_require | Loading commit data... | |
| tests | Loading commit data... | |
| .coveragerc | Loading commit data... | |
| __init__.py | Loading commit data... | |
| cache_utils.py | Loading commit data... | |
| course_tabs.py | Loading commit data... | |
| django_startup.py | Loading commit data... | |
| django_test_client_utils.py | Loading commit data... | |
| extract_tar.py | Loading commit data... | |
| html_to_text.py | Loading commit data... | |
| json_utils.py | Loading commit data... | |
| logsettings.py | Loading commit data... | |
| mail_utils.py | Loading commit data... | |
| rooted_paths.py | Loading commit data... | |
| tempdir.py | Loading commit data... | |
| xblock_utils.py | Loading commit data... |