You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Django REST Framework ignores the Content-Type on request body parts, so it doesn't know that they are JSON-encoded. Instead, it just tries to decode each part as if it was an `str()`-encoded value. Change the encoding to match the decoding. The only type this matters for is `str`, because `json.dumps` and `str` produce different encodings for `str` values. Remove `none_type` from the list of encodable types since, to my knowledge, there's no way to encode a `None` value as a `multipart/form-data` part in a way that DRF will understand. |
3 years ago | |
|---|---|---|
| .. | ||
| cypress | 3 years ago | |
| git_server | 3 years ago | |
| mounted_file_share | 3 years ago | |
| python | 3 years ago | |
| .eslintrc.js | 3 years ago | |
| cypress.json | 3 years ago | |
| cypress_canvas3d.json | 4 years ago | |
| docker-compose.email.yml | 3 years ago | |
| docker-compose.file_share.yml | 3 years ago | |
| docker-compose.minio.yml | 3 years ago | |
| docker-compose.test_servers.yml | 3 years ago | |
| json_to_html.py | 4 years ago | |
| nightly_cypress.json | 4 years ago | |
| package.json | 4 years ago | |
| pr_cypress.json | 4 years ago | |
| pr_cypress_canvas3d.json | 4 years ago | |
| values.test.yaml | 3 years ago | |
| yarn.lock | 3 years ago | |