Module: check_mk
Branch: master
Commit: 829d062740e0375e4c2f129599186896611f3c9e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=829d062740e037…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Jan 3 15:57:57 2019 +0100
Use werkzeug.Response instead of our home-grown solution.
All in all, we saved 177 lines by switching to httplib and werkzeug so far.
Now let's nuke our Request class... >:-)
Change-Id: If38987e578796dce3eadc044830c906207bd1fac
---
cmk/gui/backup.py | 6 +-
cmk/gui/crash_reporting.py | 4 +-
cmk/gui/dashboard.py | 5 +-
cmk/gui/htmllib.py | 17 +--
cmk/gui/http.py | 88 ---------------
cmk/gui/key_mgmt.py | 6 +-
cmk/gui/login.py | 40 ++++---
cmk/gui/plugins/sidebar/quicksearch.py | 4 +-
cmk/gui/plugins/views/availability.py | 2 +-
cmk/gui/plugins/views/utils.py | 2 +-
cmk/gui/plugins/views/webservice.py | 3 +-
cmk/gui/plugins/wato/background_job.py | 6 +-
cmk/gui/views.py | 5 +-
cmk/gui/visuals.py | 8 +-
cmk/gui/wato/__init__.py | 5 +-
cmk/gui/wato/pages/audit_log.py | 3 +-
cmk/gui/wato/pages/bulk_discovery.py | 4 +-
cmk/gui/wato/pages/host_rename.py | 6 +-
cmk/gui/wato/pages/parentscan.py | 4 +-
cmk/gui/wato/user_profile.py | 4 +-
tests/unit/cmk/gui/conftest.py | 10 +-
tests/unit/cmk/gui/old/classes.py | 8 +-
tests/unit/cmk/gui/test_htmllib_HTMLGenerator.py | 5 +-
tests/unit/cmk/gui/test_http.py | 26 +++--
tests/unit/cmk/gui/test_table.py | 130 ++++++++++++-----------
web/app/index.wsgi | 33 +++---
26 files changed, 180 insertions(+), 254 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=829d062740…