diff options
author | John Estabrook <jestabro@vyos.io> | 2021-06-12 11:43:29 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2021-11-07 15:21:50 -0600 |
commit | 8b8c2b36f85072def2bbb59040305e19b187a399 (patch) | |
tree | 66a5683ff29b5498d9a27301ce2e599096051078 /src/tests/test_task_scheduler.py | |
parent | 37c3ebc8aba14ba7605fbbb9c4013cbd2513400d (diff) | |
download | vyos-1x-8b8c2b36f85072def2bbb59040305e19b187a399.tar.gz vyos-1x-8b8c2b36f85072def2bbb59040305e19b187a399.zip |
http-api: T3616: update for strict content-type check in FastAPI 0.65.2
FastAPI 0.65.2 checks content-type request header before assuming JSON,
closing a well-known loophole. This requires a modification of the code
providing backwards compatibility of multipart forms.
(cherry picked from commit 3a9041e2d4d4a48ba7c01439e69c5f86a4a850c2)
Diffstat (limited to 'src/tests/test_task_scheduler.py')
0 files changed, 0 insertions, 0 deletions