aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console/common.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2013-08-17 13:30:36 +0200
committerMaximilian Hils <git@maximilianhils.com>2013-08-17 13:30:36 +0200
commit729677cd85cffedec8f481f1b6025f00fb637e13 (patch)
tree39c245643c5a3a48bd14c6e13757148bda54e2f3 /libmproxy/console/common.py
parent6fe175913e611097fdfdf0a6b20b1c05909374e1 (diff)
parenta558c016d4430b67d221a369abe0cde1f4a40fce (diff)
downloadmitmproxy-729677cd85cffedec8f481f1b6025f00fb637e13.tar.gz
mitmproxy-729677cd85cffedec8f481f1b6025f00fb637e13.tar.bz2
mitmproxy-729677cd85cffedec8f481f1b6025f00fb637e13.zip
Merge branch 'master' into 0.10
Diffstat (limited to 'libmproxy/console/common.py')
-rw-r--r--libmproxy/console/common.py18
1 files changed, 3 insertions, 15 deletions
diff --git a/libmproxy/console/common.py b/libmproxy/console/common.py
index d68aba3d..187a755f 100644
--- a/libmproxy/console/common.py
+++ b/libmproxy/console/common.py
@@ -1,23 +1,11 @@
-# Copyright (C) 2012 Aldo Cortesi
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
import urwid
import urwid.util
from .. import utils, flow
+VIEW_LIST = 0
+VIEW_FLOW = 1
+
VIEW_FLOW_REQUEST = 0
VIEW_FLOW_RESPONSE = 1