Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: b2dae32c06f67055050d8b44bdadeff45f849753
https://github.com/tribe29/checkmk/commit/b2dae32c06f67055050d8b44bdadeff45…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2019-12-18 (Wed, 18 Dec 2019)
Changed paths:
M cmk/gui/crash_reporting.py
M cmk/gui/globals.py
M cmk/gui/htmllib.py
M cmk/gui/http.py
M cmk/gui/login.py
M cmk/gui/metrics.py
A tests/unit/cmk/gui/test_htmllib_del_vars.py
M tests/unit/cmk/gui/wsgi/test_wsgi_router.py
Log Message:
-----------
Request class: use Werkzeug's Request
* subclass Werkzeug's Request class
* add legacy functionality into separate mixins
* faithfully recreate del_var behaviour
* is_multithreaded replaced with werkzeug's is_multithread
* request.user_agent is no longer a str, so the call-sites
have been changed to make it work again
* in the future, upon code refactoring, these mixins may
be safely deleted
Change-Id: I3b1ac21177f371a05fb90923e9fdd98b9d3005ca