From 4cfa91a903f581856082e0ac2c009726082f23c8 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 25 Dec 2014 02:08:58 +0100 Subject: [PATCH] web: show mitmproxy version --- libmproxy/web/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmproxy/web/app.py b/libmproxy/web/app.py index d3c44bf76..b5ec41c98 100644 --- a/libmproxy/web/app.py +++ b/libmproxy/web/app.py @@ -3,6 +3,7 @@ import tornado.web import tornado.websocket import logging import json +from .. import version class APIError(tornado.web.HTTPError): @@ -112,6 +113,7 @@ class Settings(RequestHandler): def get(self): self.write(dict( data=dict( + version=version.VERSION, mode=str(self.master.server.config.mode), intercept=self.state.intercept_txt )