luci-base: xhr.js: rework class, handle expired session
Drop very old IE compat code, restructure class, align code style with
other files and properly handle JSON mimetypes with charset trailer.
Also detect session related 403 errors and show a modal prompting
to re-login.
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
parent
425a0273
Please register or sign in to comment