A middleware that allows user to upload files using PUT / Patch
Project description
ninja_put_patch_file_upload_middleware
This middleware allows users to upload files using the HTTP PUT or PATCH method. Backports the functionality from django-ninja#719 which in turn is based on django-ninja#417 (comment)
Requirements
- Django 3.2+
- Asgiref 3.6.0+
- Python 3.7+
Installation
- Install the package using pip :
pip install ninja_put_patch_file_upload_middleware
- Add the middleware to your middleware stack:
# settings.py
MIDDLEWARE = [
...
"ninja_put_patch_file_upload_middleware.middlewares.process_put_patch",
]
LICENSE
This package is licensed under the MIT License ( same as django-ninja
). See the LICENSE file for more information.
Feature Complete
I am not willing to add any more functionality to this module. This should work as is. Unless there are changes in django
/asgiref
side. Please dont open ask for changes >_<
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ninja_put_patch_file_upload_middleware-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 827de70d5ccb2e5bc1ef4bae791488caf13fc64ded902fb95a18a3d639730f49 |
|
MD5 | 24cce136dcb047fd8261930c2243d5a3 |
|
BLAKE2b-256 | e2c14f84987621786dbe27b0294cc7d1a40349e9686cef306fa92f3896e49fec |
Close
Hashes for ninja_put_patch_file_upload_middleware-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79ea839354b99ca0272bd7b8f7ac0fe5019f9abb725becc203114313ee8c1232 |
|
MD5 | ddff26e46eb16dd046e86b273d44aa60 |
|
BLAKE2b-256 | 1c68e10e7eec15ea88724383a9235d53e933bada9935f7f87f44f3c7d86816a2 |