From 1a963b91bb61db8fa2bf5df82768a39e97a6cc90 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Thu, 14 Jul 2011 17:20:32 +1200 Subject: [PATCH] Don't sort headers when displaying them in mitmproxy. --- libmproxy/console.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmproxy/console.py b/libmproxy/console.py index e4d3057de..6f7061ed9 100644 --- a/libmproxy/console.py +++ b/libmproxy/console.py @@ -942,7 +942,7 @@ class ConsoleMaster(flow.FlowMaster): hdr = [] hdr.extend( format_keyvals( - [(h+":", v) for (h, v) in sorted(hdrItems)], + [(h+":", v) for (h, v) in hdrItems], key = "header", val = "text" )