From de08810a4748276cc09ffde19536945525f7c0be Mon Sep 17 00:00:00 2001 From: capt8bit Date: Fri, 24 Feb 2012 12:56:59 +0800 Subject: [PATCH] Docs update for new commandline and shortcut functionality. Also, typo fix. --- doc-src/mitmproxy.html | 2 +- doc-src/tutorials/30second.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc-src/mitmproxy.html b/doc-src/mitmproxy.html index d1d51da3a..3910aa2d8 100644 --- a/doc-src/mitmproxy.html +++ b/doc-src/mitmproxy.html @@ -105,5 +105,5 @@ and _m_ for "method" to change the HTTP request method. Finally, we press _a_ to accept the modified request, which is then sent on to -the server. In this case, we changed the request from an HTTP GET to to +the server. In this case, we changed the request from an HTTP GET to OPTIONS, and Google's server has responded with a 405 "Method not allowed". diff --git a/doc-src/tutorials/30second.html b/doc-src/tutorials/30second.html index cfeca49a0..fe9581c57 100644 --- a/doc-src/tutorials/30second.html +++ b/doc-src/tutorials/30second.html @@ -49,13 +49,13 @@ voila! - totally hands-free wireless network startup. We might also want to prune requests that download CSS, JS, images and so forth. These add only a few moments to the time it takes to replay, but they're -not really needed and I somehow feel compelled trim them anyway. So, we fire up +not really needed and I somehow feel compelled to trim them anyway. So, we fire up the mitmproxy console tool on our serialized conversation, like so:
-> mitmproxy wireless-login
+> mitmproxy -r wireless-login
 
We can now go through and manually delete (using the __d__ keyboard shortcut) -everything we want to trim. When we're done, we use __S__ to save the +everything we want to trim. When we're done, we use __w__ to save the conversation back to the file.