Doc and help adjustments.

This commit is contained in:
Aldo Cortesi 2011-08-03 19:15:01 +12:00
parent 028d5bacc5
commit 9d0e3c8d61
5 changed files with 15 additions and 12 deletions

View File

@ -12,6 +12,7 @@ a {
margin: 0; margin: 0;
margin-bottom: 1em; margin-bottom: 1em;
} }
#hd.doc h1 { #hd.doc h1 {
letter-spacing: 3px; letter-spacing: 3px;
font-size: 2.5em; font-size: 2.5em;
@ -48,6 +49,12 @@ a {
color: #000000; color: #000000;
} }
#bd p {
margin: 1em 0;
}
#ft.doc { #ft.doc {
color: #aaa; color: #aaa;
border-top: 1px solid #aaa; border-top: 1px solid #aaa;
@ -65,6 +72,7 @@ a {
pre { pre {
padding: 10px; padding: 10px;
background-color: #dddddd; background-color: #dddddd;
margin: 1em 0;
} }
.terminal { .terminal {

View File

@ -10,7 +10,7 @@
</ul> </ul>
</div> </div>
<br> <br>
<p>an SSL-capable intercepting proxy</p> <p>an SSL-capable man-in-the-middle proxy</p>
</div> </div>
<div id="bd"> <div id="bd">
<div id="yui-main"> <div id="yui-main">

View File

@ -13,6 +13,7 @@ if ns.options.website:
else: else:
ns.title = countershape.template.Template(None, "<h1>@!this.title!@</h1>") ns.title = countershape.template.Template(None, "<h1>@!this.title!@</h1>")
this.layout = countershape.Layout("_layout.html") this.layout = countershape.Layout("_layout.html")
ns.docTitle = "mitmproxy" ns.docTitle = "mitmproxy"
this.markup = markup.Markdown() this.markup = markup.Markdown()
ns.docMaintainer = "Aldo Cortesi" ns.docMaintainer = "Aldo Cortesi"

View File

@ -1400,15 +1400,15 @@ class ConsoleMaster(flow.FlowMaster):
("o", "toggle options:"), ("o", "toggle options:"),
(None, (None,
highlight_key("anticache", "a") + highlight_key("anticache", "a") +
[("text", ": modify requests to prevent cached responses")] [("text", ": prevent cached responses")]
), ),
(None, (None,
highlight_key("anticomp", "c") + highlight_key("anticomp", "c") +
[("text", ": modify requests to try to prevent compressed responses")] [("text", ": prevent compressed responses")]
), ),
(None, (None,
highlight_key("autodecode", "d") + highlight_key("autodecode", "d") +
[("text", ": automatically decode compressed responses")] [("text", ": auto-decode compressed content")]
), ),
(None, (None,
highlight_key("killextra", "k") + highlight_key("killextra", "k") +
@ -1430,7 +1430,7 @@ class ConsoleMaster(flow.FlowMaster):
("w", "save all flows matching current limit"), ("w", "save all flows matching current limit"),
("W", "save this flow"), ("W", "save this flow"),
("|", "run script on this flow"), ("|", "run script on this flow"),
("page up/down", "page up/down"), ("pg up/down", "page up/down"),
] ]
text.extend(format_keyvals(keys, key="key", val="text", indent=4)) text.extend(format_keyvals(keys, key="key", val="text", indent=4))

8
todo
View File

@ -1,4 +1,3 @@
This is a loose collection of todo items, in case someone else wants to start This is a loose collection of todo items, in case someone else wants to start
hacking on mitmproxy. Drop me a line (aldo@corte.si) if you want to tackle any hacking on mitmproxy. Drop me a line (aldo@corte.si) if you want to tackle any
of these and need some pointers. of these and need some pointers.
@ -16,9 +15,4 @@ Features:
- Support HTTP Digest authentication through the stickyauth option. We'll - Support HTTP Digest authentication through the stickyauth option. We'll
have to save the server nonce, and recalculate the hashes for each request. have to save the server nonce, and recalculate the hashes for each request.
- Chunked encoding support for requests (we already support it for responses). - Chunked encoding support for requests (we already support it for responses).
- Better manipulation of flows in mitmproxy: copying flows, adding - A progress indicator for large files
comments.
Bugs:
- In some circumstances, long URLs in list view are line-broken oddly.