diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-04-02 14:08:30 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-04-02 14:08:30 +1200 |
commit | bb03255da042f478d4fb1866b39028760e14f0bf (patch) | |
tree | 2301d07845fb985af40a54005955916c90009f1a /libmproxy/console/palettes.py | |
parent | c02fdb24639c8c0fe89534205d48933de832287a (diff) | |
download | mitmproxy-bb03255da042f478d4fb1866b39028760e14f0bf.tar.gz mitmproxy-bb03255da042f478d4fb1866b39028760e14f0bf.tar.bz2 mitmproxy-bb03255da042f478d4fb1866b39028760e14f0bf.zip |
Nicer coloring for HTTP response codes.
20x: green
30x: blue
40x: orange
50x: light red
other (non-standard or uncommon): dark red
Diffstat (limited to 'libmproxy/console/palettes.py')
-rw-r--r-- | libmproxy/console/palettes.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libmproxy/console/palettes.py b/libmproxy/console/palettes.py index 0b80de21..c1d83188 100644 --- a/libmproxy/console/palettes.py +++ b/libmproxy/console/palettes.py @@ -33,8 +33,15 @@ dark = [ # List and Connections ('method', 'dark cyan', 'default'), ('focus', 'yellow', 'default'), - ('goodcode', 'light green', 'default'), + + ('code_200', 'light green', 'default'), + ('code_300', 'light blue', 'default'), + ('code_400', 'light red', 'default', None, "#f60", "default"), + ('code_500', 'light red', 'default'), + ('code_other', 'dark red', 'default'), + ('error', 'light red', 'default'), + ('header', 'dark cyan', 'default'), ('highlight', 'white,bold', 'default'), ('intercept', 'brown', 'default', None, "#f60", "default"), |