]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: REST API returns 500 when no Content-Type is specified 34831/head
authorAvan Thakkar <athakkar@redhat.com>
Wed, 29 Jul 2020 17:56:04 +0000 (23:26 +0530)
committerAvan Thakkar <athakkar@redhat.com>
Thu, 3 Sep 2020 06:34:14 +0000 (12:04 +0530)
commit9dd629ca7ea5bafe883f48d257386a8c5d32c1c7
tree76a2cc3fd44a943990377da3a7b732371bae3d18
parent4e4c926faf627bcfcf316bfbde0da6544658fad4
mgr/dashboard: REST API returns 500 when no Content-Type is specified

Fixes: https://tracker.ceph.com/issues/41060
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit ea031de0908a249b416617a1d9cc806c356520e4)
(cherry picked from commit a5bf74e6a6c7678bbb3689a4b52fe817418da58b)
12 files changed:
src/pybind/mgr/dashboard/controllers/__init__.py
src/pybind/mgr/dashboard/controllers/auth.py
src/pybind/mgr/dashboard/controllers/cephfs.py
src/pybind/mgr/dashboard/controllers/docs.py
src/pybind/mgr/dashboard/controllers/host.py
src/pybind/mgr/dashboard/controllers/mgr_modules.py
src/pybind/mgr/dashboard/controllers/osd.py
src/pybind/mgr/dashboard/controllers/rbd.py
src/pybind/mgr/dashboard/controllers/rbd_mirroring.py
src/pybind/mgr/dashboard/controllers/rgw.py
src/pybind/mgr/dashboard/controllers/user.py
src/pybind/mgr/dashboard/module.py