Don't sort headers when displaying them in mitmproxy.

This commit is contained in:
Aldo Cortesi 2011-07-14 17:20:32 +12:00
parent 7e21ac0eb8
commit 1a963b91bb

View File

@ -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"
)